﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="1.0.8348.30405"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>37cf7936-56b2-4cb5-9acd-2c778763a47f</id>
      <revision>35</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <approximateEqualAccuracy>0</approximateEqualAccuracy>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" viewMode="0" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="1" orientation="Portrait" width="850" height="1100" />
      <margins left="39" right="39" top="39" bottom="39" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="1.0.8348.30405" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.11.8348.30405" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="PictureRegion" version="1.10.8348.30405" guid="06b5df04-393e-4be7-9107-305196fcb861" />
      <assembly name="Custom Functions" version="1.1.8051.30522" guid="18dadffd-79a3-4cf9-aee1-d66deb0ea720" />
      <assembly name="SpecialFunctions" version="1.12.8348.30405" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="Numeric Up-Down Region" version="1.0.8034.3198" guid="43438e49-5428-4036-8991-ce03b1d1e572" />
      <assembly name="TextRegion" version="1.11.8348.30405" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="AreaRegion" version="1.11.8348.30405" guid="4974b228-4974-44cf-8274-bf2936b4a766" />
      <assembly name="Writer Region" version="0.23.8034.36139" guid="5922d677-323f-4327-8c68-be902d8339ad" />
      <assembly name="X-Y Plot Region (JXCharts)" version="0.2.8209.38826" guid="c12231ec-4873-43c1-a7d0-a167ebd17066" />
      <assembly name="Mathcad Toolbox" version="0.4.8520.34563" guid="ddc09821-49f1-4c21-a829-6499de0a8f06" />
    </dependencies>
  </settings>
  <regions type="content">
    <region top="36" color="#000000">
      <area collapsed="true">
        <title lang="eng">
          <content>
            <p>     plotG     </p>
          </content>
        </title>
      </area>
      <region left="117" top="72" width="580" height="147" color="#000000" bgColor="#ebebeb" fontSize="10">
        <math exponentialThreshold="3">
          <input>
            <e type="operand">vx</e>
            <e type="operand">vy</e>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="operand">c</e>
            <e type="function" args="5">plotG</e>
            <e type="operand">a</e>
            <e type="operand" style="string">char</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">b</e>
            <e type="operand">size</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">c</e>
            <e type="operand" style="string">color</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="5">mat</e>
            <e type="operand">n</e>
            <e type="operand">vx</e>
            <e type="function" args="1">length</e>
            <e type="operator" args="2">:</e>
            <e type="operand">plot</e>
            <e type="operand">vx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operand">vy</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="operand">c</e>
            <e type="function" args="5">augment</e>
            <e type="operator" args="2">:</e>
            <e type="operand">i</e>
            <e type="operand">2</e>
            <e type="operand">n</e>
            <e type="function" args="2">range</e>
            <e type="operand">plot</e>
            <e type="operand">plot</e>
            <e type="operand">vx</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">vy</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="operand">c</e>
            <e type="function" args="5">augment</e>
            <e type="function" args="2">stack</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">for</e>
            <e type="operand">plot</e>
            <e type="operand">5</e>
            <e type="operand">1</e>
            <e type="function" args="7">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region top="225" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region left="63" top="261" width="487" height="41" border="true" color="#000000" bgColor="#fafafa" isBreakable="false">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Arial'; font-size: 10pt; font-weight: normal; font-style: normal; color: windowtext; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><span style="font-family: 'Times New Roman'"><span style="font-size: 20pt"><strong><span style="color: Maroon">Example 1 . . .</span> l_p_c cubic spline <span style="color: Red">coefficients</span></strong></span></span></div></span>]]></writer>
    </region>
    <region left="63" top="315" width="395" height="29" color="#000000" bgColor="#dcffb4" fontSize="14" isBreakable="false">
      <text lang="eng" fontFamily="Arial" fontSize="20">
        <content>
          <p style="font-weight: bold; font-family: Courier New; font-size: 14px; background-color: #dcffb4;">Part 1. l_p_c cubic scalar splines</p>
        </content>
      </text>
    </region>
    <region left="63" top="351" width="566" height="98" border="true" color="#000000" bgColor="#ffffe1" fontSize="10" isBreakable="false">
      <text lang="eng" fontFamily="Arial" fontSize="20">
        <content>
          <p style="font-family: Courier New; font-size: 10px; background-color: #ffffe1;">Essentially, the coefficients of the cubic spline consists in solving<br />the basis tridiagonal matrix wrt the 'br' vector of derivatives .<br />Independently of the type of cubic spline [type:  l, p, c]<br />two steps of preparation are needed [collapsed area]:<br />0. Install the constant vector 'br' <br />1.  Install the blank tridiagonal matrix.</p>
        </content>
      </text>
    </region>
    <region left="63" top="459" width="107" height="226" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">XY</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="operand">2</e>
          <e type="operand">5</e>
          <e type="operand">3</e>
          <e type="operand">7</e>
          <e type="operand">4.5</e>
          <e type="operand">9</e>
          <e type="operand">5</e>
          <e type="operand">6</e>
          <e type="operand">6.1</e>
          <e type="operand">7</e>
          <e type="operand">7</e>
          <e type="operand">11</e>
          <e type="operand">8</e>
          <e type="operand">24</e>
          <e type="operand">8.9</e>
          <e type="operand">34</e>
          <e type="operand">10</e>
          <e type="operand">40</e>
          <e type="operand">11</e>
          <e type="operand">37</e>
          <e type="operand">12</e>
          <e type="operand">47</e>
          <e type="operand">12</e>
          <e type="operand">2</e>
          <e type="function" args="26">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="234" top="468" width="115" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">X</e>
          <e type="operand">XY</e>
          <e type="operand">1</e>
          <e type="function" args="2">col</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="234" top="495" width="115" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">Y</e>
          <e type="operand">XY</e>
          <e type="operand">2</e>
          <e type="function" args="2">col</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="234" top="522" width="158" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">N</e>
          <e type="operand">XY</e>
          <e type="function" args="1">rows</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">11</e>
        </result>
      </math>
    </region>
    <region left="234" top="567" width="86" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">r</e>
          <e type="operand">2</e>
          <e type="operand">N</e>
          <e type="function" args="2">range</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region top="720" color="#ff0000" bgColor="#ebebeb">
      <area collapsed="false">
        <title lang="eng">
          <content>
            <p>     Prepare the Tridiagonal Matrices     </p>
          </content>
        </title>
      </area>
      <region left="54" top="756" width="326" height="23" color="#000000" bgColor="#fafafa" fontSize="10" isBreakable="false">
        <text lang="eng" fontFamily="Arial" fontSize="20">
          <content>
            <p style="font-family: Courier New; font-size: 10px;">Prep.0 Install the constant vector 'br'</p>
          </content>
        </text>
      </region>
      <region left="54" top="783" width="330" height="110" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
        <math>
          <input>
            <e type="operand">i</e>
            <e type="operand">r</e>
            <e type="operand">br</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">Y</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operand">Y</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="operand">X</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="operator" args="2">/</e>
            <e type="bracket">(</e>
            <e type="operand">Y</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">Y</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="operand">X</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="operator" args="2">/</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="1">eval</e>
            <e type="operator" args="2">:</e>
            <e type="operand">br</e>
            <e type="operand">N</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operand">0</e>
            <e type="operator" args="2">:</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="function" args="3">for</e>
          </input>
        </math>
      </region>
      <region left="387" top="783" width="208" height="226" color="#000000" fontSize="10">
        <math decimalPlaces="15">
          <input>
            <e type="operand">br</e>
          </input>
          <result action="numeric">
            <e type="operand">0</e>
            <e type="operand">1</e>
            <e type="operand">0.666666666666667</e>
            <e type="operator" args="1">-</e>
            <e type="operand">7.33333333333333</e>
            <e type="operator" args="1">-</e>
            <e type="operand">6.90909090909091</e>
            <e type="operand">3.53535353535354</e>
            <e type="operand">8.55555555555556</e>
            <e type="operand">1.88888888888889</e>
            <e type="operator" args="1">-</e>
            <e type="operand">5.65656565656566</e>
            <e type="operator" args="1">-</e>
            <e type="operand">8.45454545454546</e>
            <e type="operator" args="1">-</e>
            <e type="operand">13</e>
            <e type="operand">0</e>
            <e type="operand">12</e>
            <e type="operand">1</e>
            <e type="function" args="14">mat</e>
          </result>
        </math>
      </region>
      <region left="54" top="900" width="310" height="23" color="#000000" bgColor="#fafafa" fontSize="10" isBreakable="false">
        <text lang="eng" fontFamily="Arial" fontSize="20">
          <content>
            <p style="font-family: Courier New; font-size: 10px;">Prep.1 Install the tridiagonal matrix</p>
          </content>
        </text>
      </region>
      <region left="54" top="945" width="69" height="33" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">M</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">el</e>
            <e type="operand">1</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="153" top="945" width="121" height="33" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">M</e>
            <e type="operand">N</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operand">N</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="3">el</e>
            <e type="operand">1</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="54" top="981" width="213" height="226" color="#000000" fontSize="10">
        <math>
          <description active="true" position="Right" lang="eng">
            <content>
              <p>The basis tridiagonal matrix [l, p, c]</p>
            </content>
          </description>
          <input>
            <e type="operand">M</e>
          </input>
          <result action="numeric">
            <e type="operand">1</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">1</e>
            <e type="operand">12</e>
            <e type="operand">12</e>
            <e type="function" args="146">mat</e>
          </result>
        </math>
      </region>
      <region top="1215" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region top="1242" color="#000000" bgColor="#fafafa">
      <area collapsed="true" />
      <region left="63" top="1287" width="494" height="23" color="#000000" bgColor="#fff5eb" fontSize="10" isBreakable="false">
        <text lang="eng" fontFamily="Arial" fontSize="20">
          <content>
          <p style="font-family: Courier New; font-size: 10px; background-color: #fff5eb;">0. Construct the tridiagonal linear spline matrix [lspline] </p>
        </content>
        </text>
      </region>
      <region left="63" top="1332" width="180" height="66" border="true" color="#000000" bgColor="#fff5eb" fontSize="10">
        <math>
          <input>
            <e type="operand">i</e>
            <e type="operand">r</e>
            <e type="operand">M</e>
            <e type="operand">i</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="3">el</e>
            <e type="operand">X</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="operand">6</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">for</e>
          </input>
        </math>
      </region>
      <region left="279" top="1332" width="181" height="66" border="true" color="#000000" bgColor="#fff5eb" fontSize="10">
        <math>
          <input>
            <e type="operand">i</e>
            <e type="operand">r</e>
            <e type="operand">M</e>
            <e type="operand">i</e>
            <e type="operand">i</e>
            <e type="function" args="3">el</e>
            <e type="operand">X</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="operand">3</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">for</e>
          </input>
        </math>
      </region>
      <region left="486" top="1332" width="183" height="66" border="true" color="#000000" bgColor="#fff5eb" fontSize="10">
        <math>
          <input>
            <e type="operand">i</e>
            <e type="operand">r</e>
            <e type="operand">M</e>
            <e type="operand">i</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="3">el</e>
            <e type="operand">X</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="operand">6</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">for</e>
          </input>
        </math>
      </region>
      <region left="63" top="1422" width="169" height="35" border="true" color="#000000" bgColor="#fff5eb" fontSize="10">
        <math>
          <input>
            <e type="operand">slin</e>
            <e type="operand">M</e>
            <e type="operand">1</e>
            <e type="operator" args="1">-</e>
            <e type="operator" args="2">^</e>
            <e type="operand">br</e>
            <e type="operator" args="2">*</e>
            <e type="function" args="1">eval</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="63" top="1467" width="490" height="226" color="#000000" bgColor="#fff5eb" fontSize="10">
        <math>
          <input>
            <e type="operand">M</e>
          </input>
          <result action="numeric">
            <e type="operand">1</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.1667</e>
            <e type="operand">0.6667</e>
            <e type="operand">0.1667</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.1667</e>
            <e type="operand">0.8333</e>
            <e type="operand">0.25</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.25</e>
            <e type="operand">0.6667</e>
            <e type="operand">0.0833</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.0833</e>
            <e type="operand">0.5333</e>
            <e type="operand">0.1833</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.1833</e>
            <e type="operand">0.6667</e>
            <e type="operand">0.15</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.15</e>
            <e type="operand">0.6333</e>
            <e type="operand">0.1667</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.1667</e>
            <e type="operand">0.6333</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.15</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">12</e>
            <e type="operand">8</e>
            <e type="function" args="98">mat</e>
          </result>
        </math>
      </region>
      <region left="567" top="1467" width="144" height="226" color="#000000" bgColor="#fff5eb" fontSize="10">
        <math>
          <input>
            <e type="operand">slin</e>
          </input>
          <result action="numeric">
            <e type="operand">0</e>
            <e type="operand">0.6629</e>
            <e type="operand">3.3484</e>
            <e type="operand">14.2699</e>
            <e type="operator" args="1">-</e>
            <e type="operand">16.1137</e>
            <e type="operand">2.7041</e>
            <e type="operator" args="1">-</e>
            <e type="operand">15.8926</e>
            <e type="operand">6.6248</e>
            <e type="operator" args="1">-</e>
            <e type="operand">2.2796</e>
            <e type="operator" args="1">-</e>
            <e type="operand">17.1442</e>
            <e type="operator" args="1">-</e>
            <e type="operand">23.7861</e>
            <e type="operand">0</e>
            <e type="operand">12</e>
            <e type="operand">1</e>
            <e type="function" args="14">mat</e>
          </result>
        </math>
      </region>
      <region left="63" top="1710" width="518" height="23" color="#000000" bgColor="#fafafa" fontSize="10" isBreakable="false">
        <text lang="eng" fontFamily="Arial" fontSize="20">
          <content>
            <p style="font-family: Courier New; font-size: 10px; background-color: #fafafa;">1. Construct the tridiagonal parabolic spline matrix [pspline] </p>
          </content>
        </text>
      </region>
      <region left="63" top="1737" width="81" height="33" color="#000000" bgColor="#fafafa" fontSize="10">
        <math>
          <input>
            <e type="operand">M</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="3">el</e>
            <e type="operand">1</e>
            <e type="operator" args="1">-</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="180" top="1737" width="110" height="33" color="#000000" bgColor="#fafafa" fontSize="10">
        <math>
          <input>
            <e type="operand">M</e>
            <e type="operand">N</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operand">N</e>
            <e type="function" args="3">el</e>
            <e type="operand">1</e>
            <e type="operator" args="1">-</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="63" top="1782" width="153" height="35" border="true" color="#000000" bgColor="#fafafa" fontSize="10">
        <math>
          <input>
            <e type="operand">sp</e>
            <e type="operand">M</e>
            <e type="operand">1</e>
            <e type="operator" args="1">-</e>
            <e type="operator" args="2">^</e>
            <e type="operand">br</e>
            <e type="operator" args="2">*</e>
            <e type="function" args="1">eval</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="63" top="1827" width="490" height="226" color="#000000" bgColor="#fafafa" fontSize="10">
        <math>
          <input>
            <e type="operand">M</e>
          </input>
          <result action="numeric">
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="operator" args="1">-</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.1667</e>
            <e type="operand">0.6667</e>
            <e type="operand">0.1667</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.1667</e>
            <e type="operand">0.8333</e>
            <e type="operand">0.25</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.25</e>
            <e type="operand">0.6667</e>
            <e type="operand">0.0833</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.0833</e>
            <e type="operand">0.5333</e>
            <e type="operand">0.1833</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.1833</e>
            <e type="operand">0.6667</e>
            <e type="operand">0.15</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.15</e>
            <e type="operand">0.6333</e>
            <e type="operand">0.1667</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.1667</e>
            <e type="operand">0.6333</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.15</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">12</e>
            <e type="operand">8</e>
            <e type="function" args="98">mat</e>
          </result>
        </math>
      </region>
      <region left="576" top="1827" width="128" height="226" color="#000000" bgColor="#fafafa" fontSize="10">
        <math>
          <input>
            <e type="operand">sp</e>
          </input>
          <result action="numeric">
            <e type="operand">0.5241</e>
            <e type="operand">0.5241</e>
            <e type="operand">3.3797</e>
            <e type="operand">14.2816</e>
            <e type="operator" args="1">-</e>
            <e type="operand">16.1135</e>
            <e type="operand">2.698</e>
            <e type="operator" args="1">-</e>
            <e type="operand">15.8658</e>
            <e type="operand">6.5284</e>
            <e type="operator" args="1">-</e>
            <e type="operand">2.6569</e>
            <e type="operator" args="1">-</e>
            <e type="operand">15.8512</e>
            <e type="operator" args="1">-</e>
            <e type="operand">18.7702</e>
            <e type="operand">18.7702</e>
            <e type="operand">12</e>
            <e type="operand">1</e>
            <e type="function" args="14">mat</e>
          </result>
        </math>
      </region>
      <region left="63" top="2070" width="486" height="23" color="#000000" bgColor="#fff5ff" fontSize="10" isBreakable="false">
        <text lang="eng" fontFamily="Arial" fontSize="20">
          <content>
          <p style="font-family: Courier New; font-size: 10px; background-color: #fff5ff;">2. Construct the tridiagonal cubic spline matrix [cspline] </p>
        </content>
        </text>
      </region>
      <region left="63" top="2106" width="145" height="63" color="#000000" bgColor="#fff5ff" fontSize="10">
        <math>
          <input>
            <e type="operand">M</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="3">el</e>
            <e type="operand">X</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">3</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operand">X</e>
            <e type="operand">3</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="operator" args="2">/</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="225" top="2106" width="199" height="61" color="#000000" bgColor="#fff5ff" fontSize="10">
        <math>
          <input>
            <e type="operand">M</e>
            <e type="operand">N</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operand">N</e>
            <e type="function" args="3">el</e>
            <e type="operand">X</e>
            <e type="operand">N</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">N</e>
            <e type="operand">2</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operand">X</e>
            <e type="operand">N</e>
            <e type="operand">2</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">N</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="432" top="2106" width="133" height="63" color="#000000" bgColor="#fff5ff" fontSize="10">
        <math>
          <input>
            <e type="operand">M</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="3">el</e>
            <e type="operand">X</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operand">X</e>
            <e type="operand">3</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="585" top="2106" width="211" height="63" color="#000000" bgColor="#fff5ff" fontSize="10">
        <math>
          <input>
            <e type="operand">M</e>
            <e type="operand">N</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operand">N</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="3">el</e>
            <e type="operand">X</e>
            <e type="operand">N</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">N</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operand">X</e>
            <e type="operand">N</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">N</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="63" top="2178" width="178" height="41" border="true" color="#000000" bgColor="#80ffff" fontSize="12">
        <math>
          <input>
            <e type="operand">sc</e>
            <e type="operand">M</e>
            <e type="operand">1</e>
            <e type="operator" args="1">-</e>
            <e type="operator" args="2">^</e>
            <e type="operand">br</e>
            <e type="operator" args="2">*</e>
            <e type="function" args="1">eval</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="63" top="2223" width="490" height="226" color="#000000" bgColor="#fff5ff" fontSize="10">
        <math>
          <input>
            <e type="operand">M</e>
          </input>
          <result action="numeric">
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="operator" args="1">-</e>
            <e type="operand">1</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.1667</e>
            <e type="operand">0.6667</e>
            <e type="operand">0.1667</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.1667</e>
            <e type="operand">0.8333</e>
            <e type="operand">0.25</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.25</e>
            <e type="operand">0.6667</e>
            <e type="operand">0.0833</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.0833</e>
            <e type="operand">0.5333</e>
            <e type="operand">0.1833</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.1833</e>
            <e type="operand">0.6667</e>
            <e type="operand">0.15</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.15</e>
            <e type="operand">0.6333</e>
            <e type="operand">0.1667</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.1667</e>
            <e type="operand">0.6333</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0.15</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">0</e>
            <e type="operand">12</e>
            <e type="operand">8</e>
            <e type="function" args="98">mat</e>
          </result>
        </math>
      </region>
      <region left="576" top="2223" width="128" height="226" color="#000000" bgColor="#fff5ff" fontSize="10">
        <math>
          <input>
            <e type="operand">sc</e>
          </input>
          <result action="numeric">
            <e type="operand">1.272</e>
            <e type="operator" args="1">-</e>
            <e type="operand">1</e>
            <e type="operand">3.272</e>
            <e type="operand">14.24</e>
            <e type="operator" args="1">-</e>
            <e type="operand">16.1037</e>
            <e type="operand">2.6884</e>
            <e type="operator" args="1">-</e>
            <e type="operand">15.8353</e>
            <e type="operand">6.4211</e>
            <e type="operator" args="1">-</e>
            <e type="operand">3.0759</e>
            <e type="operator" args="1">-</e>
            <e type="operand">14.4152</e>
            <e type="operator" args="1">-</e>
            <e type="operand">13.2</e>
            <e type="operand">39.6152</e>
            <e type="operand">12</e>
            <e type="operand">1</e>
            <e type="function" args="14">mat</e>
          </result>
        </math>
      </region>
      <region top="2457" color="#000000" bgColor="#fafafa">
        <area terminator="true" />
      </region>
    </region>
    <region top="2511" color="#000000" bgColor="#ebebeb">
      <area single="true" collapsed="true" />
    </region>
    <region top="2547" color="#000000">
      <area collapsed="true">
        <title lang="eng">
          <content>
            <p>     ptsSpec     </p>
          </content>
        </title>
      </area>
      <region left="72" top="2574" width="288" height="191" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
        <math>
          <input>
            <e type="operand">ptsSpec</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operator" args="2">:</e>
            <e type="operand">i</e>
            <e type="operand">k</e>
            <e type="operand">X</e>
            <e type="function" args="1">rows</e>
            <e type="function" args="2">range</e>
            <e type="operand">data</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">Sym</e>
            <e type="operand">size</e>
            <e type="operand">clr</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="5">mat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">k</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="function" args="3">for</e>
            <e type="operand">v</e>
            <e type="operand">data</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">:</e>
            <e type="operand">j</e>
            <e type="operand">2</e>
            <e type="operand">data</e>
            <e type="function" args="1">rows</e>
            <e type="function" args="2">range</e>
            <e type="operand">v</e>
            <e type="operand">v</e>
            <e type="operand">data</e>
            <e type="operand">j</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">stack</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">for</e>
            <e type="operand">v</e>
            <e type="operand">5</e>
            <e type="operand">1</e>
            <e type="function" args="7">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region top="2763" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region left="486" top="2799" width="78" height="24" color="#000000" bgColor="#fafafa" fontSize="10">
      <math>
        <input>
          <e type="operand">Sym</e>
          <e type="operand" style="string">.</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="567" top="2799" width="70" height="24" color="#000000" bgColor="#fafafa" fontSize="10">
      <math>
        <input>
          <e type="operand">size</e>
          <e type="operand">4</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="648" top="2799" width="110" height="24" color="#000000" bgColor="#fafafa" fontSize="10">
      <math>
        <input>
          <e type="operand">clr</e>
          <e type="operand" style="string">black</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="54" top="2826" width="144" height="226" color="#000000" bgColor="#e1ffff" fontSize="10">
      <math matrixOptions="0,0,1,12">
        <description active="true" position="Top" lang="eng">
          <content>
            <p>linear</p>
          </content>
        </description>
        <input>
          <e type="operand">slin</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
          <e type="operand">0.6629</e>
          <e type="operand">3.3484</e>
          <e type="operand">14.2699</e>
          <e type="operator" args="1">-</e>
          <e type="operand">16.1137</e>
          <e type="operand">2.7041</e>
          <e type="operator" args="1">-</e>
          <e type="operand">15.8926</e>
          <e type="operand">6.6248</e>
          <e type="operator" args="1">-</e>
          <e type="operand">2.2796</e>
          <e type="operator" args="1">-</e>
          <e type="operand">17.1442</e>
          <e type="operator" args="1">-</e>
          <e type="operand">23.7861</e>
          <e type="operand">0</e>
          <e type="operand">12</e>
          <e type="operand">1</e>
          <e type="function" args="14">mat</e>
        </result>
      </math>
    </region>
    <region left="207" top="2826" width="128" height="226" color="#000000" bgColor="#e1ffff" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>parabolic </p>
          </content>
        </description>
        <input>
          <e type="operand">sp</e>
        </input>
        <result action="numeric">
          <e type="operand">0.5241</e>
          <e type="operand">0.5241</e>
          <e type="operand">3.3797</e>
          <e type="operand">14.2816</e>
          <e type="operator" args="1">-</e>
          <e type="operand">16.1135</e>
          <e type="operand">2.698</e>
          <e type="operator" args="1">-</e>
          <e type="operand">15.8658</e>
          <e type="operand">6.5284</e>
          <e type="operator" args="1">-</e>
          <e type="operand">2.6569</e>
          <e type="operator" args="1">-</e>
          <e type="operand">15.8512</e>
          <e type="operator" args="1">-</e>
          <e type="operand">18.7702</e>
          <e type="operand">18.7702</e>
          <e type="operand">12</e>
          <e type="operand">1</e>
          <e type="function" args="14">mat</e>
        </result>
      </math>
    </region>
    <region left="342" top="2826" width="128" height="226" color="#000000" bgColor="#e1ffff" fontSize="10">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>cubic </p>
          </content>
        </description>
        <input>
          <e type="operand">sc</e>
        </input>
        <result action="numeric">
          <e type="operand">1.272</e>
          <e type="operator" args="1">-</e>
          <e type="operand">1</e>
          <e type="operand">3.272</e>
          <e type="operand">14.24</e>
          <e type="operator" args="1">-</e>
          <e type="operand">16.1037</e>
          <e type="operand">2.6884</e>
          <e type="operator" args="1">-</e>
          <e type="operand">15.8353</e>
          <e type="operand">6.4211</e>
          <e type="operator" args="1">-</e>
          <e type="operand">3.0759</e>
          <e type="operator" args="1">-</e>
          <e type="operand">14.4152</e>
          <e type="operator" args="1">-</e>
          <e type="operand">13.2</e>
          <e type="operand">39.6152</e>
          <e type="operand">12</e>
          <e type="operand">1</e>
          <e type="function" args="14">mat</e>
        </result>
      </math>
    </region>
    <region left="486" top="2826" width="259" height="26" color="#000000" bgColor="#fafafa" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">support</e>
          <e type="operand">X</e>
          <e type="operand">Y</e>
          <e type="operand">ptsSpec</e>
          <e type="function" args="3">augment</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="486" top="2853" width="251" height="226" color="#000000" bgColor="#fafafa" fontSize="10">
      <math>
        <input>
          <e type="operand">support</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="operand" style="string">.</e>
          <e type="operand">4</e>
          <e type="operand" style="string">black</e>
          <e type="operand">2</e>
          <e type="operand">5</e>
          <e type="operand" style="string">.</e>
          <e type="operand">4</e>
          <e type="operand" style="string">black</e>
          <e type="operand">3</e>
          <e type="operand">7</e>
          <e type="operand" style="string">.</e>
          <e type="operand">4</e>
          <e type="operand" style="string">black</e>
          <e type="operand">4.5</e>
          <e type="operand">9</e>
          <e type="operand" style="string">.</e>
          <e type="operand">4</e>
          <e type="operand" style="string">black</e>
          <e type="operand">5</e>
          <e type="operand">6</e>
          <e type="operand" style="string">.</e>
          <e type="operand">4</e>
          <e type="operand" style="string">black</e>
          <e type="operand">6.1</e>
          <e type="operand">7</e>
          <e type="operand" style="string">.</e>
          <e type="operand">4</e>
          <e type="operand" style="string">black</e>
          <e type="operand">7</e>
          <e type="operand">11</e>
          <e type="operand" style="string">.</e>
          <e type="operand">4</e>
          <e type="operand" style="string">black</e>
          <e type="operand">8</e>
          <e type="operand">24</e>
          <e type="operand" style="string">.</e>
          <e type="operand">4</e>
          <e type="operand" style="string">black</e>
          <e type="operand">8.9</e>
          <e type="operand">34</e>
          <e type="operand" style="string">.</e>
          <e type="operand">4</e>
          <e type="operand" style="string">black</e>
          <e type="operand">10</e>
          <e type="operand">40</e>
          <e type="operand" style="string">.</e>
          <e type="operand">4</e>
          <e type="operand" style="string">black</e>
          <e type="operand">11</e>
          <e type="operand">37</e>
          <e type="operand" style="string">.</e>
          <e type="operand">4</e>
          <e type="operand" style="string">black</e>
          <e type="operand">12</e>
          <e type="operand">47</e>
          <e type="operand" style="string">.</e>
          <e type="operand">4</e>
          <e type="operand" style="string">black</e>
          <e type="operand">12</e>
          <e type="operand">5</e>
          <e type="function" args="62">mat</e>
        </result>
      </math>
    </region>
    <region left="54" top="3096" width="73" height="30" color="#000000" bgColor="#e1ffff" fontSize="14">
      <math optimize="2">
        <description active="false" position="Right" lang="eng">
          <content>
            <p>In 's' , plug the the selected type of spline [slin, sp,sc]<br />'slin &amp; sp' join cubic 2 points entrance and along and departutre.<br />'sc' joins cubic 3 points entrance and along and departure.</p>
          </content>
        </description>
        <input>
          <e type="operand">s</e>
          <e type="operand">sp</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="54" top="3141" width="263" height="62" color="#000000" bgColor="#dcffb4" fontSize="10">
      <math>
        <input>
          <e type="operand">Type</e>
          <e type="operand" style="string">linear</e>
          <e type="operand">s</e>
          <e type="operand">slin</e>
          <e type="operator" args="2">≡</e>
          <e type="operand" style="string">parabolic</e>
          <e type="operand">s</e>
          <e type="operand">sp</e>
          <e type="operator" args="2">≡</e>
          <e type="operand" style="string">cubic</e>
          <e type="function" args="5">cases</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="342" top="3150" width="286" height="40" color="#000000" bgColor="#fafafa" fontSize="20">
      <math>
        <input>
          <e type="operand">Type</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">parabolic</e>
        </result>
      </math>
    </region>
    <region left="45" top="3231" width="451" height="29" color="#000000" bgColor="#dcffb4" fontSize="14" isBreakable="false">
      <text lang="eng" fontFamily="Arial" fontSize="20">
        <content>
          <p style="font-weight: bold; font-family: Courier New; font-size: 14px; background-color: #dcffb4;">Part 2. Classroom journey cubic splines</p>
        </content>
      </text>
    </region>
    <region top="3312" color="#000000">
      <area collapsed="true">
        <title lang="eng">
          <content>
            <p>     abcd     </p>
          </content>
        </title>
      </area>
      <region left="54" top="3357" width="396" height="29" color="#000000" bgColor="#80ffff" fontSize="14" isBreakable="false">
        <text lang="eng" width="396" fontFamily="Arial" fontSize="20">
          <content>
            <p style="font-weight: bold; font-family: Courier New; font-size: 14px; background-color: #80ffff;">Recover segments coeff's [a,b,c,d]</p>
          </content>
        </text>
      </region>
      <region left="54" top="3420" width="339" height="337" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
        <math optimize="2">
          <description active="true" position="Top" lang="eng">
            <content>
              <p>Collect the cubic 's' components for C(j,u)</p>
            </content>
          </description>
          <input>
            <e type="operand">abcd</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operand">X</e>
            <e type="function" args="1">rows</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="2">range</e>
            <e type="operand">hs</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">s</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operand">s</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="operator" args="2">:</e>
            <e type="operand">hy</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">Y</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operand">Y</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="operator" args="2">:</e>
            <e type="operand">hx</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="operator" args="2">:</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">line</e>
            <e type="function" args="3">for</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operand">X</e>
            <e type="function" args="1">rows</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="2">range</e>
            <e type="operand">a</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">hs</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">6</e>
            <e type="operand">hx</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
            <e type="operand">b</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">s</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">2</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
            <e type="operand">c</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">hy</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">hx</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">/</e>
            <e type="operand">hx</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">6</e>
            <e type="operator" args="2">/</e>
            <e type="operand">s</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operand">2</e>
            <e type="operand">s</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">:</e>
            <e type="operand">d</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">Y</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">:</e>
            <e type="operand">4</e>
            <e type="operand">1</e>
            <e type="function" args="6">line</e>
            <e type="function" args="3">for</e>
            <e type="operand">a</e>
            <e type="operand">b</e>
            <e type="operand">c</e>
            <e type="operand">d</e>
            <e type="function" args="4">augment</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="396" top="3447" width="291" height="208" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">abcd</e>
          </input>
          <result action="numeric">
            <e type="operand">0</e>
            <e type="operand">0.262</e>
            <e type="operand">0.738</e>
            <e type="operand">4</e>
            <e type="operand">0.4759</e>
            <e type="operand">0.262</e>
            <e type="operand">1.262</e>
            <e type="operand">5</e>
            <e type="operand">1.9624</e>
            <e type="operator" args="1">-</e>
            <e type="operand">1.6898</e>
            <e type="operand">3.2139</e>
            <e type="operand">7</e>
            <e type="operand">10.1317</e>
            <e type="operand">7.1408</e>
            <e type="operator" args="1">-</e>
            <e type="operand">4.9625</e>
            <e type="operator" args="1">-</e>
            <e type="operand">9</e>
            <e type="operand">2.8502</e>
            <e type="operator" args="1">-</e>
            <e type="operand">8.0567</e>
            <e type="operand">4.5046</e>
            <e type="operator" args="1">-</e>
            <e type="operand">6</e>
            <e type="operand">3.4377</e>
            <e type="operand">1.349</e>
            <e type="operator" args="1">-</e>
            <e type="operand">2.874</e>
            <e type="operand">7</e>
            <e type="operand">3.7324</e>
            <e type="operator" args="1">-</e>
            <e type="operand">7.9329</e>
            <e type="operand">8.7995</e>
            <e type="operand">11</e>
            <e type="operand">0.7169</e>
            <e type="operand">3.2642</e>
            <e type="operator" args="1">-</e>
            <e type="operand">13.4682</e>
            <e type="operand">24</e>
            <e type="operand">1.9991</e>
            <e type="operator" args="1">-</e>
            <e type="operand">1.3284</e>
            <e type="operator" args="1">-</e>
            <e type="operand">9.3348</e>
            <e type="operand">34</e>
            <e type="operand">5.7702</e>
            <e type="operand">7.9256</e>
            <e type="operator" args="1">-</e>
            <e type="operand">0.8446</e>
            <e type="operator" args="1">-</e>
            <e type="operand">40</e>
            <e type="operand">0</e>
            <e type="operand">9.3851</e>
            <e type="operand">0.6149</e>
            <e type="operand">37</e>
            <e type="operand">11</e>
            <e type="operand">4</e>
            <e type="function" args="46">mat</e>
          </result>
        </math>
      </region>
      <region left="396" top="3663" width="131" height="26" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">a</e>
            <e type="operand">abcd</e>
            <e type="operand">1</e>
            <e type="function" args="2">col</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="585" top="3663" width="131" height="26" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">c</e>
            <e type="operand">abcd</e>
            <e type="operand">3</e>
            <e type="function" args="2">col</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="396" top="3690" width="131" height="26" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">b</e>
            <e type="operand">abcd</e>
            <e type="operand">2</e>
            <e type="function" args="2">col</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="585" top="3690" width="131" height="26" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">d</e>
            <e type="operand">abcd</e>
            <e type="operand">4</e>
            <e type="function" args="2">col</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="396" top="3726" width="444" height="65" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
        <math optimize="2">
          <input>
            <e type="operand">j</e>
            <e type="operand">u</e>
            <e type="function" args="2">C</e>
            <e type="operand">i</e>
            <e type="operand">j</e>
            <e type="operator" args="2">:</e>
            <e type="operand">a</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">u</e>
            <e type="operand">X</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operand">3</e>
            <e type="operator" args="2">^</e>
            <e type="operator" args="2">*</e>
            <e type="operand">b</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">u</e>
            <e type="operand">X</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operand">2</e>
            <e type="operator" args="2">^</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operand">c</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">u</e>
            <e type="operand">X</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operand">d</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">+</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="153" top="3798" width="112" height="35" color="#000000" bgColor="#fafafa" fontSize="20">
        <numericupdown settings="" value="1" decimalPlaces="0" increment="1" increment_ALT="1" incrementType_ALT="Add" increment_SHIFT="1" incrementType_SHIFT="Add" increment_ALTSHIFT="1" incrementType_ALTSHIFT="Add" maxValue="100" minValue="0" useMaxValue="false" useMinValue="false">
          <input>
            <e type="operand">j</e>
          </input>
        </numericupdown>
      </region>
      <region left="54" top="3852" width="310" height="208" color="#000000" bgColor="#ffffff" fontSize="12">
        <xyplot width="300" height="200" points="100" name="XYPlot">
          <chartstyle backcolor="Ivory" bordercolor="Black" />
          <propertiessource index="1" sourcetype="PropertyGrid" />
          <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
          <xaxes xmin="0" xmax="13" xtick="2" visible="True" decimalplaces="3" numberformat="General" />
          <yaxes ymin="0" ymax="50" ytick="10" visible="True" decimalplaces="3" numberformat="General" />
          <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" visible="True" decimalplaces="3" numberformat="General" />
          <title2d title="spline explorer" titlefont="Arial, 14.25pt, style=Bold" titlefontcolor="Black" />
          <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 8pt" tickfontcolor="Black" xlabel="x" ylabel="y" y2label="y2" />
          <legend isbordervisible="true" islegendvisible="false" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
          <traces>
            <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Labels" lineantialias="true" linecolor="Blue" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
            <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Red" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          </traces>
          <input>
            <e type="operand">support</e>
            <e type="operand">j</e>
            <e type="operand">x</e>
            <e type="function" args="2">C</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">sys</e>
          </input>
        </xyplot>
      </region>
      <region top="4140" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region top="4194" color="#ff0000" bgColor="#ebebeb">
      <area collapsed="true">
        <title lang="eng">
          <content>
            <p>     Mathcad 8 Pro. code conversion     </p>
          </content>
        </title>
      </area>
      <region left="54" top="4230" width="619" height="630" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
        <math optimize="2">
          <input>
            <e type="operand">s</e>
            <e type="operand">X</e>
            <e type="operand">Y</e>
            <e type="operand">t</e>
            <e type="function" args="4">InterpSpline</e>
            <e type="operand" style="string">Mathcad 8 Pro. code conversion</e>
            <e type="operand">t</e>
            <e type="operand">X</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">≤</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">mat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">t</e>
            <e type="operand">X</e>
            <e type="operand">N</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">≥</e>
            <e type="operand">idx</e>
            <e type="operand">N</e>
            <e type="operand">N</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">mat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">:</e>
            <e type="operand">X</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">t</e>
            <e type="operator" args="2">&lt;</e>
            <e type="operand">i</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="2">while</e>
            <e type="operand">idx</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="operand">i</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">mat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">line</e>
            <e type="function" args="3">if</e>
            <e type="function" args="3">if</e>
            <e type="operand">hx</e>
            <e type="operand">X</e>
            <e type="operand">idx</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">:</e>
            <e type="operand">hy</e>
            <e type="operand">Y</e>
            <e type="operand">idx</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operand">Y</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">:</e>
            <e type="operand">hs</e>
            <e type="operand">s</e>
            <e type="operand">idx</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operand">s</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">:</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">line</e>
            <e type="operand">a</e>
            <e type="operand">hs</e>
            <e type="operand">6</e>
            <e type="operand">hx</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
            <e type="operand">b</e>
            <e type="operand">s</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operand">2</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
            <e type="operand">c</e>
            <e type="operand">hy</e>
            <e type="operand">hx</e>
            <e type="operator" args="2">/</e>
            <e type="operand">hx</e>
            <e type="operand">6</e>
            <e type="operator" args="2">/</e>
            <e type="operand">s</e>
            <e type="operand">idx</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operand">2</e>
            <e type="operand">s</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">:</e>
            <e type="operand">d</e>
            <e type="operand">Y</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">:</e>
            <e type="operand">4</e>
            <e type="operand">1</e>
            <e type="function" args="6">line</e>
            <e type="operand">a</e>
            <e type="operand">t</e>
            <e type="operand">X</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operand">3</e>
            <e type="operator" args="2">^</e>
            <e type="operator" args="2">*</e>
            <e type="operand">b</e>
            <e type="operand">t</e>
            <e type="operand">X</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operand">2</e>
            <e type="operator" args="2">^</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operand">c</e>
            <e type="operand">t</e>
            <e type="operand">X</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operand">d</e>
            <e type="operator" args="2">+</e>
            <e type="operand">5</e>
            <e type="operand">1</e>
            <e type="function" args="7">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region top="4860" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region left="252" top="4914" width="33" height="33" color="#000000">
      <picture>
        <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACASURBVEhL7dNBDoQgFANQruH97+Y1sFW/aSwuBGRhSHwdUiZ2ZcoZz8eQXvaG9FIl/LRA8k08PYs/tkB6qeaIQnqp5ohCeqnmiEIWSrYi+lrIQslWRF8LeRzWddldF7w5RVeD78TJL6jXCCG9pCEjNEfukF6GISP0nxHSj/S9lDdOQxboEuxS7AAAAABJRU5ErkJggg==</raw>
      </picture>
    </region>
    <region left="288" top="4914" width="331" height="26" color="#000000" bgColor="#ffff80" fontSize="12" isBreakable="false">
      <text lang="eng" fontFamily="Arial" fontSize="20">
        <content>
          <p style="font-weight: bold; font-family: Courier New; font-size: 12px; background-color: #ffff80;"> ◄ 's' from your collection above</p>
        </content>
      </text>
    </region>
    <region left="27" top="4950" width="332" height="29" border="true" color="#000000" bgColor="#ffffe1" fontSize="12" showInputData="false">
      <math optimize="2" decimalPlaces="6">
        <description active="true" position="Right" lang="eng">
          <content>
            <p>recast the 'interpolation' code</p>
          </content>
        </description>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">cubic</e>
          <e type="operand">s</e>
          <e type="operand">X</e>
          <e type="operand">Y</e>
          <e type="operand">x</e>
          <e type="function" args="4">InterpSpline</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="27" top="4995" width="115" height="29" color="#000000" fontSize="12">
      <math>
        <description active="true" position="Right" lang="eng">
          <content>
            <p>interpolate within 'X range'</p>
          </content>
        </description>
        <input>
          <e type="operand">5</e>
          <e type="function" args="1">cubic</e>
        </input>
        <result action="numeric">
          <e type="operand">6</e>
        </result>
      </math>
    </region>
    <region left="27" top="5049" width="279" height="129" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
      <math optimize="2">
        <description active="true" position="Top" lang="eng">
          <content>
            <p>Discretise for export</p>
          </content>
        </description>
        <input>
          <e type="operand">L</e>
          <e type="operand">H</e>
          <e type="operand">N</e>
          <e type="function" args="3">xd</e>
          <e type="operand">U</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">dx</e>
          <e type="operand">H</e>
          <e type="operand">L</e>
          <e type="operator" args="2">-</e>
          <e type="operand">N</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operand">N</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="function" args="2">range</e>
          <e type="operand">U</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">L</e>
          <e type="operand">dx</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operand">dx</e>
          <e type="operand">i</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
          <e type="function" args="3">for</e>
          <e type="operand">U</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="315" top="5049" width="276" height="61" color="#000000" bgColor="#ffffe1" fontSize="10">
      <math>
        <input>
          <e type="operand">L</e>
          <e type="operand">X</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">H</e>
          <e type="operand">X</e>
          <e type="operand">X</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Npts</e>
          <e type="operand">499</e>
          <e type="operator" args="2">:</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
          <e type="operand">U</e>
          <e type="operand">L</e>
          <e type="operand">H</e>
          <e type="operand">Npts</e>
          <e type="function" args="3">xd</e>
          <e type="operator" args="2">:</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
        </input>
      </math>
    </region>
    <region left="315" top="5112" width="231" height="80" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
      <math>
        <input>
          <e type="operand">Ω</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operand">U</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">range</e>
          <e type="operand">vy</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">U</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">cubic</e>
          <e type="function" args="1">eval</e>
          <e type="operator" args="2">:</e>
          <e type="function" args="3">for</e>
          <e type="operand">U</e>
          <e type="operand">vy</e>
          <e type="function" args="2">augment</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="153" top="5283" width="112" height="35" color="#000000" bgColor="#fafafa" fontSize="20">
      <numericupdown settings="" value="1" decimalPlaces="0" increment="1" increment_ALT="1" incrementType_ALT="Add" increment_SHIFT="1" incrementType_SHIFT="Add" increment_ALTSHIFT="1" incrementType_ALTSHIFT="Add" maxValue="100" minValue="0" useMaxValue="false" useMinValue="false">
        <input>
          <e type="operand">j</e>
        </input>
      </numericupdown>
    </region>
    <region left="360" top="5292" width="180" height="417" color="#000000" bgColor="#fafafa" fontSize="12">
      <math matrixOptions="0,0,2,18">
        <input>
          <e type="operand">Ω</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="operand">1.022</e>
          <e type="operand">4.0164</e>
          <e type="operand">1.0441</e>
          <e type="operand">4.033</e>
          <e type="operand">1.0661</e>
          <e type="operand">4.0499</e>
          <e type="operand">1.0882</e>
          <e type="operand">4.0671</e>
          <e type="operand">1.1102</e>
          <e type="operand">4.0845</e>
          <e type="operand">1.1323</e>
          <e type="operand">4.1022</e>
          <e type="operand">1.1543</e>
          <e type="operand">4.1201</e>
          <e type="operand">1.1764</e>
          <e type="operand">4.1383</e>
          <e type="operand">1.1984</e>
          <e type="operand">4.1567</e>
          <e type="operand">1.2204</e>
          <e type="operand">4.1754</e>
          <e type="operand">1.2425</e>
          <e type="operand">4.1944</e>
          <e type="operand">1.2645</e>
          <e type="operand">4.2135</e>
          <e type="operand">1.2866</e>
          <e type="operand">4.233</e>
          <e type="operand">1.3086</e>
          <e type="operand">4.2527</e>
          <e type="operand">1.3307</e>
          <e type="operand">4.2727</e>
          <e type="operand">1.3527</e>
          <e type="operand">4.2929</e>
          <e type="operand">1.3747</e>
          <e type="operand">4.3134</e>
          <e type="operand">18</e>
          <e type="operand">2</e>
          <e type="function" args="38">mat</e>
        </result>
      </math>
    </region>
    <region left="45" top="5355" width="310" height="261" color="#000000" bgColor="#ffffff" fontSize="12">
      <xyplot width="300" height="253" points="100" name="XYPlot">
        <chartstyle backcolor="Ivory" bordercolor="Black" />
        <propertiessource index="1" sourcetype="PropertyGrid" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
        <xaxes xmin="0" xmax="13" xtick="2" visible="True" decimalplaces="3" numberformat="General" />
        <yaxes ymin="0" ymax="50" ytick="5" visible="True" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" visible="True" decimalplaces="3" numberformat="General" />
        <title2d title="l_p_c spline" titlefont="Arial, 14.25pt, style=Bold" titlefontcolor="Black" />
        <xylabel labelfont="Arial, 11.25pt" labelfontcolor="Black" tickfont="Arial, 8pt" tickfontcolor="Black" xlabel="x" ylabel="y" y2label="y2" />
        <legend isbordervisible="true" islegendvisible="true" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 11.25pt" legendposition="NorthWest" textcolor="Black" />
        <traces>
          <trace seriesname="spline" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Red" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="data" isy2data="false" isvisible="true" plotmethod="Labels" lineantialias="true" linecolor="Red" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="3" symboltype="Dot" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        </traces>
        <input>
          <e type="operand">j</e>
          <e type="operand">x</e>
          <e type="function" args="2">C</e>
          <e type="operand">support</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
        </input>
      </xyplot>
    </region>
    <region left="540" top="5418" width="228" height="31" color="#000000" bgColor="#fafafa" fontSize="12">
      <math>
        <input>
          <e type="operand">Ω</e>
          <e type="operand">Ω</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">row</e>
        </input>
        <result action="numeric">
          <e type="operand">12</e>
          <e type="operand">47</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
        </result>
      </math>
    </region>
    <region left="540" top="5472" width="124" height="29" color="#000000" bgColor="#fafafa" fontSize="12">
      <math>
        <input>
          <e type="operand">Ω</e>
          <e type="function" args="1">rows</e>
        </input>
        <result action="numeric">
          <e type="operand">500</e>
        </result>
      </math>
    </region>
    <region top="5742" color="#ff0000" bgColor="#ebebeb">
      <area collapsed="true">
        <title lang="eng">
          <content>
            <p>     Mathcad 8 Pro. code conversion     </p>
          </content>
        </title>
      </area>
      <region left="45" top="5778" width="619" height="630" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
        <math optimize="2">
          <input>
            <e type="operand">s</e>
            <e type="operand">X</e>
            <e type="operand">Y</e>
            <e type="operand">t</e>
            <e type="function" args="4">InterpSpline</e>
            <e type="operand" style="string">Mathcad 8 Pro. code conversion</e>
            <e type="operand">t</e>
            <e type="operand">X</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">≤</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">mat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">t</e>
            <e type="operand">X</e>
            <e type="operand">N</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">≥</e>
            <e type="operand">idx</e>
            <e type="operand">N</e>
            <e type="operand">N</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">mat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">:</e>
            <e type="operand">X</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">t</e>
            <e type="operator" args="2">&lt;</e>
            <e type="operand">i</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="2">while</e>
            <e type="operand">idx</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="operand">i</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">mat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">line</e>
            <e type="function" args="3">if</e>
            <e type="function" args="3">if</e>
            <e type="operand">hx</e>
            <e type="operand">X</e>
            <e type="operand">idx</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">:</e>
            <e type="operand">hy</e>
            <e type="operand">Y</e>
            <e type="operand">idx</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operand">Y</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">:</e>
            <e type="operand">hs</e>
            <e type="operand">s</e>
            <e type="operand">idx</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operand">s</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">:</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">line</e>
            <e type="operand">a</e>
            <e type="operand">hs</e>
            <e type="operand">6</e>
            <e type="operand">hx</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
            <e type="operand">b</e>
            <e type="operand">s</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operand">2</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
            <e type="operand">c</e>
            <e type="operand">hy</e>
            <e type="operand">hx</e>
            <e type="operator" args="2">/</e>
            <e type="operand">hx</e>
            <e type="operand">6</e>
            <e type="operator" args="2">/</e>
            <e type="operand">s</e>
            <e type="operand">idx</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operand">2</e>
            <e type="operand">s</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">:</e>
            <e type="operand">d</e>
            <e type="operand">Y</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">:</e>
            <e type="operand">4</e>
            <e type="operand">1</e>
            <e type="function" args="6">line</e>
            <e type="operand">a</e>
            <e type="operand">t</e>
            <e type="operand">X</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operand">3</e>
            <e type="operator" args="2">^</e>
            <e type="operator" args="2">*</e>
            <e type="operand">b</e>
            <e type="operand">t</e>
            <e type="operand">X</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operand">2</e>
            <e type="operator" args="2">^</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operand">c</e>
            <e type="operand">t</e>
            <e type="operand">X</e>
            <e type="operand">idx</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operand">d</e>
            <e type="operator" args="2">+</e>
            <e type="operand">5</e>
            <e type="operand">1</e>
            <e type="function" args="7">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region top="6399" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region left="54" top="6453" width="314" height="56" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">λ</e>
          <e type="operand">1</e>
          <e type="operand">X</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">x</e>
          <e type="operator" args="2">≤</e>
          <e type="bracket">(</e>
          <e type="operand">x</e>
          <e type="operand">X</e>
          <e type="operand">X</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">≤</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">&amp;</e>
          <e type="operand" style="string"></e>
          <e type="function" args="3">cases</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="270" top="6534" width="33" height="33" color="#000000">
      <picture>
        <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACASURBVEhL7dNBDoQgFANQruH97+Y1sFW/aSwuBGRhSHwdUiZ2ZcoZz8eQXvaG9FIl/LRA8k08PYs/tkB6qeaIQnqp5ohCeqnmiEIWSrYi+lrIQslWRF8LeRzWddldF7w5RVeD78TJL6jXCCG9pCEjNEfukF6GISP0nxHSj/S9lDdOQxboEuxS7AAAAABJRU5ErkJggg==</raw>
      </picture>
    </region>
    <region left="306" top="6534" width="331" height="26" color="#000000" bgColor="#ffff80" fontSize="12" isBreakable="false">
      <text lang="eng" fontFamily="Arial" fontSize="20">
        <content>
          <p style="font-weight: bold; font-family: Courier New; font-size: 12px; background-color: #ffff80;"> ◄ 's' from your collection above</p>
        </content>
      </text>
    </region>
    <region left="45" top="6570" width="332" height="29" border="true" color="#000000" bgColor="#ffffe1" fontSize="12" showInputData="false">
      <math optimize="2" decimalPlaces="6">
        <description active="true" position="Right" lang="eng">
          <content>
            <p>recast the 'interpolation' code</p>
          </content>
        </description>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">cubic</e>
          <e type="operand">s</e>
          <e type="operand">X</e>
          <e type="operand">Y</e>
          <e type="operand">x</e>
          <e type="function" args="4">InterpSpline</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="45" top="6615" width="182" height="29" color="#000000" fontSize="12">
      <math>
        <description active="true" position="Right" lang="eng">
          <content>
            <p>interpolate within 'X range'</p>
          </content>
        </description>
        <input>
          <e type="operand">5.5</e>
          <e type="function" args="1">cubic</e>
        </input>
        <result action="numeric">
          <e type="operand">5.4056</e>
        </result>
      </math>
    </region>
    <region left="54" top="6660" width="310" height="261" color="#000000" bgColor="#ffffff" fontSize="12" showInputData="false">
      <xyplot width="300" height="253" points="100" name="XYPlot">
        <chartstyle backcolor="Ivory" bordercolor="Black" />
        <propertiessource index="1" sourcetype="PropertyGrid" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
        <xaxes xmin="0" xmax="13" xtick="2" visible="True" decimalplaces="3" numberformat="General" />
        <yaxes ymin="0" ymax="50" ytick="5" visible="True" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" visible="True" decimalplaces="3" numberformat="General" />
        <title2d title="l_p_c spline" titlefont="Arial, 14.25pt, style=Bold" titlefontcolor="Black" />
        <xylabel labelfont="Arial, 11.25pt" labelfontcolor="Black" tickfont="Arial, 8pt" tickfontcolor="Black" xlabel="x" ylabel="y" y2label="y2" />
        <legend isbordervisible="true" islegendvisible="true" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 11.25pt" legendposition="NorthWest" textcolor="Black" />
        <traces>
          <trace seriesname="spline" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Red" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="data" isy2data="false" isvisible="true" plotmethod="Labels" lineantialias="true" linecolor="Red" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="3" symboltype="Dot" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        </traces>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">cubic</e>
          <e type="operand">x</e>
          <e type="function" args="1">λ</e>
          <e type="operator" args="2">*</e>
          <e type="operand">support</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
        </input>
      </xyplot>
    </region>
    <region left="18" top="6975" width="462" height="29" color="#000000" bgColor="#dcffb4" fontSize="14" isBreakable="false">
      <text lang="eng" fontFamily="Arial" fontSize="20">
        <content>
          <p style="font-weight: bold; font-family: Courier New; font-size: 14px; background-color: #dcffb4;">Part 3. The complimentary scalar dspline</p>
        </content>
      </text>
    </region>
    <region left="18" top="7011" width="588" height="317" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">s</e>
          <e type="operand">X</e>
          <e type="operand">Y</e>
          <e type="operand">t</e>
          <e type="function" args="4">dspline</e>
          <e type="operand">t</e>
          <e type="operand">X</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">≤</e>
          <e type="operand">k</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
          <e type="operand">t</e>
          <e type="operand">X</e>
          <e type="operand">X</e>
          <e type="function" args="1">rows</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">≥</e>
          <e type="operand">k</e>
          <e type="operand">X</e>
          <e type="function" args="1">rows</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
          <e type="operand">k</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
          <e type="operand">t</e>
          <e type="operand">X</e>
          <e type="operand">k</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">&gt;</e>
          <e type="operand">k</e>
          <e type="operand">k</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
          <e type="function" args="2">while</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="function" args="3">if</e>
          <e type="function" args="3">if</e>
          <e type="operand">c</e>
          <e type="operand">Y</e>
          <e type="operand">k</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="2">el</e>
          <e type="operand">Y</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operand">X</e>
          <e type="operand">k</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="2">el</e>
          <e type="operand">X</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">/</e>
          <e type="operand">s</e>
          <e type="operand">k</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="2">el</e>
          <e type="operand">2</e>
          <e type="operand">s</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operand">X</e>
          <e type="operand">k</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="2">el</e>
          <e type="operand">X</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operand">6</e>
          <e type="operator" args="2">/</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
          <e type="operand">s</e>
          <e type="operand">k</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="2">el</e>
          <e type="operand">s</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operand">X</e>
          <e type="operand">k</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="2">el</e>
          <e type="operand">X</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">/</e>
          <e type="bracket">(</e>
          <e type="operand">t</e>
          <e type="operand">X</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">s</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operand">t</e>
          <e type="operand">X</e>
          <e type="operand">k</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operand">c</e>
          <e type="operator" args="2">+</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">line</e>
          <e type="function" args="1">eval</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="513" top="7128" width="246" height="29" color="#000000" bgColor="#fafafa" fontSize="12">
      <math>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">D</e>
          <e type="operand">s</e>
          <e type="operand">X</e>
          <e type="operand">Y</e>
          <e type="operand">x</e>
          <e type="function" args="4">dspline</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="18" top="7335" width="310" height="248" color="#000000" bgColor="#ffffff" fontSize="12">
      <xyplot width="300" height="240" points="100" name="XYPlot">
        <chartstyle backcolor="Ivory" bordercolor="Black" />
        <propertiessource index="1" sourcetype="PropertyGrid" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
        <xaxes xmin="0" xmax="13" xtick="2" visible="True" decimalplaces="3" numberformat="General" />
        <yaxes ymin="-8" ymax="16" ytick="2" visible="True" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" visible="True" decimalplaces="3" numberformat="General" />
        <title2d title="1rst derivative" titlefont="Arial, 14.25pt, style=Bold" titlefontcolor="Black" />
        <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 8pt" tickfontcolor="Black" xlabel="0" ylabel="" y2label="y2" />
        <legend isbordervisible="true" islegendvisible="false" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
        <traces>
          <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Blue" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Red" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        </traces>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">D</e>
          <e type="operand">x</e>
          <e type="function" args="1">λ</e>
          <e type="operator" args="2">*</e>
          <e type="operand">0</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
        </input>
      </xyplot>
    </region>
    <region left="333" top="7335" width="310" height="248" color="#000000" bgColor="#ffffff" fontSize="12">
      <xyplot width="300" height="240" points="1000" name="XYPlot">
        <chartstyle backcolor="Ivory" bordercolor="Black" />
        <propertiessource index="1" sourcetype="PropertyGrid" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
        <xaxes xmin="0" xmax="13" xtick="2" visible="True" decimalplaces="3" numberformat="General" />
        <yaxes ymin="-24" ymax="48" ytick="8" visible="True" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" visible="True" decimalplaces="3" numberformat="General" />
        <title2d title="2nd derivative" titlefont="Arial, 14.25pt, style=Bold" titlefontcolor="Black" />
        <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 8pt" tickfontcolor="Black" xlabel="" ylabel="" y2label="y2" />
        <legend isbordervisible="true" islegendvisible="false" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
        <traces>
          <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Blue" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Red" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        </traces>
        <input>
          <e type="operand">s</e>
          <e type="operand">x</e>
          <e type="function" args="2">el</e>
          <e type="operand">0</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
        </input>
      </xyplot>
    </region>
    <region left="468" top="7713" width="98" height="40" color="#000000" bgColor="#ffe1e1" fontSize="20">
      <math>
        <input>
          <e type="operand">N</e>
          <e type="operand">11</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="9" top="7722" width="417" height="29" color="#000000" bgColor="#dcffb4" fontSize="14" isBreakable="false">
      <text lang="eng" fontFamily="Arial" fontSize="20">
        <content>
          <p style="font-weight: bold; font-family: Courier New; font-size: 14px; background-color: #dcffb4;">Part 4. The complimentary fintegrate</p>
        </content>
      </text>
    </region>
    <region left="9" top="7758" width="561" height="132" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
      <math optimize="2">
        <description active="true" position="Top" lang="eng">
          <content>
            <p>Prepare the pseudo-integrand ... 'N' from initial  spline setup</p>
          </content>
        </description>
        <input>
          <e type="operand">s</e>
          <e type="operand">X</e>
          <e type="operand">Y</e>
          <e type="function" args="3">fintegrate</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operand">N</e>
          <e type="function" args="2">range</e>
          <e type="operand">h</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">X</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="2">el</e>
          <e type="operand">X</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
          <e type="operand">f</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="2">el</e>
          <e type="operand">h</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="operand">Y</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Y</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operand">h</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="bracket">(</e>
          <e type="operand">3</e>
          <e type="operator" args="2">^</e>
          <e type="operand">24</e>
          <e type="operator" args="2">/</e>
          <e type="operand">s</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">s</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="function" args="3">for</e>
          <e type="operand">f</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="405" top="7794" width="321" height="43" color="#000000" bgColor="#fafafa" fontSize="12">
      <math>
        <input>
          <e type="operand">s</e>
          <e type="operand">X</e>
          <e type="operand">Y</e>
          <e type="function" args="3">fintegrate</e>
          <e type="function" args="1">sum</e>
        </input>
        <result action="numeric">
          <e type="operand">205.7038</e>
        </result>
      </math>
    </region>
    <region left="585" top="7848" width="230" height="74" color="#000000" bgColor="#fafafa" fontSize="12">
      <math>
        <input>
          <e type="operand">206.1809</e>
          <e type="operand">205.7038</e>
          <e type="operand">205.2389</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">sys</e>
          <e type="operand" style="string">linear</e>
          <e type="operand" style="string">parabolic</e>
          <e type="operand" style="string">cubic</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">sys</e>
          <e type="operator" args="2">≡</e>
        </input>
      </math>
    </region>
    <region left="9" top="7983" width="330" height="31" color="#000000" bgColor="#fafafa" fontSize="12">
      <math>
        <input>
          <e type="operand">∫</e>
          <e type="operand">X</e>
          <e type="operand">s</e>
          <e type="operand">X</e>
          <e type="operand">Y</e>
          <e type="function" args="3">fintegrate</e>
          <e type="function" args="2">augment</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="9" top="8028" width="161" height="270" color="#000000" bgColor="#fafafa" fontSize="12">
      <math>
        <input>
          <e type="operand">∫</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
          <e type="operand">0</e>
          <e type="operand">2</e>
          <e type="operand">4.4563</e>
          <e type="operand">3</e>
          <e type="operand">5.8373</e>
          <e type="operand">4.5</e>
          <e type="operand">13.5331</e>
          <e type="operand">5</e>
          <e type="operand">3.7405</e>
          <e type="operand">6.1</e>
          <e type="operand">6.406</e>
          <e type="operand">7</e>
          <e type="operand">7.7</e>
          <e type="operand">8</e>
          <e type="operand">17.1109</e>
          <e type="operand">8.9</e>
          <e type="operand">26.379</e>
          <e type="operand">10</e>
          <e type="operand">41.7264</e>
          <e type="operand">11</e>
          <e type="operand">38.3784</e>
          <e type="operand">12</e>
          <e type="operand">40.4358</e>
          <e type="operand">12</e>
          <e type="operand">2</e>
          <e type="function" args="26">mat</e>
        </result>
      </math>
    </region>
    <region left="198" top="8037" width="224" height="43" color="#000000" bgColor="#fafafa" fontSize="12">
      <math>
        <input>
          <e type="operand">∫</e>
          <e type="operand">2</e>
          <e type="function" args="2">col</e>
          <e type="function" args="1">sum</e>
        </input>
        <result action="numeric">
          <e type="operand">205.7038</e>
        </result>
      </math>
    </region>
    <region left="198" top="8136" width="112" height="35" color="#000000" bgColor="#fafafa" fontSize="12">
      <numericupdown settings="" value="10" decimalPlaces="0" increment="1" increment_ALT="1" incrementType_ALT="Add" increment_SHIFT="1" incrementType_SHIFT="Add" increment_ALTSHIFT="1" incrementType_ALTSHIFT="Add" maxValue="100" minValue="0" useMaxValue="false" useMinValue="false">
        <input>
          <e type="operand">∫explore</e>
        </input>
      </numericupdown>
    </region>
    <region left="432" top="8136" width="109" height="38" color="#000000" bgColor="#ffffe1" fontSize="20">
      <text lang="eng" fontFamily="Arial" fontSize="20">
        <content>
          <p style="background-color: #ffffe1;">∫explore</p>
        </content>
      </text>
    </region>
    <region left="342" top="8145" width="75" height="31" color="#000000">
      <picture>
        <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAEMAAAAXCAYAAABQ1fKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAPbSURBVFhH5ZhLSFRRHMZHN4pQ6qKdDzKydi0kSIJoEYQiJKG1aBFaYUIPalO7chEFtRfCoNqIRNgqKbGycUbIQAllKlBCcAw1H4Mxc5//vv+5c8fbnaMz41xHqe/ym4vjPWe+8517z+P6aIdoaSVCmq7H/9oeJcLQDE2cdUMXGIbhGXadqqGSicOpvtVVOjo8TK2+fOocHRXfef37Mvg3TANumLinRBiqpoozh6KaqmcopkKKrsBAcq/XfQpShQ8W4tycnRHfR/WotC6vYV8ilI3C0E30ZJZwPYrBIRiiXtYymAe7TjXSncJCqncEIcIwLVPCpKROr9F0jQzT2LowNFMTP2L/gK0wqDpwkALl5fTUFYLNNcV6VP+JMLgs49SrryFqbmunQ2fPUJ8kACdXVctDzIgl6sqUTIL0PAxVt549xqn+uQVqnwmTr/UizUgaLuNBvGy2kvmU4VkYiYEIM4RTE+D5agRtS25sKg7jzviO8u8yJABG4PsnWYM0j1XsTebbybphKJrVs9w4u6c3gkNDTaIMawTUhSbE7DAGDEcj04XHkgB4myEfwCNQ3NAgvPAMIfMsQ0zjOFhwkb32DA7QMZj5BWSNzBVVjafjjjYn1IIksfJbXlymyHKEFBWJbUBMjZGB60Modw4GxkGqgTFX5F9u5+aQpsi9J4GnYXJykmJKTJRDLZj75+ZRly9j8LGjmAIyn6kIhbhrUQV/cEp+v5/63/TTUHCIhgIb4w8M0rPRMWqenaULxSXCyBLg83biO3GSPi4sUnBI7ttNYDhAXY+7KBqNroWRjT5/m6BeBNmKKVRmMFfMgsqW83FXm5MvHOa1IZ4zzVos8WzCU046ONWLzdb1ggKqq6ykHpfRdKmorqZLZWXUVFJCzSWladFUWkptxbtpL8ofv31LeOEZQubXDY+VvFFjcQ5wYcm5zkisIVLAS2+ep21xPLzvvFtbSy9raqjD1dhUtIlaiFbB7zTha91bQJ4yZX7diKkV642kqTWb5TivQim+yWKtgAiob2kRt+99V6PXw+pX1lpdmYp7W+ZRCq71fG8ikkYgKpI2HP30A7wHvoEBWkFjg67Gu7E3alEt+tfCKGP4tUE64FrpoiubMJxwMFyH6QiFaw6Oj9MNzOmdRUXUmZdHL2Rh4DlmsUHuLBN3W8bYL2zSxCnPw7Cxn0vNtXfh9xmvwcN9+5PCuBKzFj8Y3sQ510qE4dybcCBeYd+6MY0bujbYfgH3sDE70t1N/QhiAXRMT4v/oaQ451qJMGzx84MbaEsO3DPicIrj6Zmaoif+gHgTtp1KCuP/FdEfSued2eSkf1EAAAAASUVORK5CYII=</raw>
      </picture>
    </region>
    <region left="198" top="8208" width="281" height="82" color="#000000" bgColor="#fafafa" fontSize="12">
      <math>
        <input>
          <e type="operand">∫</e>
          <e type="operand">2</e>
          <e type="function" args="2">col</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operand">∫explore</e>
          <e type="function" args="4">sum</e>
        </input>
        <result action="numeric">
          <e type="operand">126.8896</e>
        </result>
      </math>
    </region>
    <region left="27" top="8478" width="398" height="220" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">data</e>
          <e type="function" args="1">Σ</e>
          <e type="operand" style="string">Finite differences Cumul Integration</e>
          <e type="operand">Y</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">vx</e>
          <e type="operand">data</e>
          <e type="operand">1</e>
          <e type="function" args="2">col</e>
          <e type="operator" args="2">:</e>
          <e type="operand">vy</e>
          <e type="operand">data</e>
          <e type="operand">2</e>
          <e type="function" args="2">col</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Y</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">i</e>
          <e type="operand">2</e>
          <e type="operand">vx</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">range</e>
          <e type="operand">Δx</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">vx</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">vx</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Y</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Y</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="2">el</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="operand">vy</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="2">el</e>
          <e type="operand">vy</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operand">Δx</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">*</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="function" args="3">for</e>
          <e type="operand">vx</e>
          <e type="operand">Y</e>
          <e type="function" args="2">augment</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="27" top="8703" width="310" height="261" color="#000000" bgColor="#ffffff" fontSize="12" showInputData="false">
      <xyplot width="300" height="253" points="100" name="XYPlot">
        <chartstyle backcolor="Ivory" bordercolor="Black" />
        <propertiessource index="1" sourcetype="PropertyGrid" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
        <xaxes xmin="0" xmax="13" xtick="2" visible="True" decimalplaces="3" numberformat="General" />
        <yaxes ymin="0" ymax="50" ytick="5" visible="True" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" visible="True" decimalplaces="3" numberformat="General" />
        <title2d title="l_p_c spline" titlefont="Arial, 14.25pt, style=Bold" titlefontcolor="Black" />
        <xylabel labelfont="Arial, 14.25pt" labelfontcolor="Black" tickfont="Arial, 8pt" tickfontcolor="Black" xlabel="x" ylabel="spline fit" y2label="y2" />
        <legend isbordervisible="true" islegendvisible="true" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 11.25pt" legendposition="NorthWest" textcolor="Black" />
        <traces>
          <trace seriesname="spline" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Red" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="data" isy2data="false" isvisible="true" plotmethod="Labels" lineantialias="true" linecolor="Red" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="3" symboltype="Dot" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        </traces>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">cubic</e>
          <e type="operand">x</e>
          <e type="function" args="1">λ</e>
          <e type="operator" args="2">*</e>
          <e type="operand">support</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
        </input>
      </xyplot>
    </region>
    <region left="378" top="8721" width="120" height="42" color="#000000" bgColor="#fafafa" fontSize="20">
      <math>
        <input>
          <e type="operand">Σ</e>
          <e type="operand">Ω</e>
          <e type="function" args="1">Σ</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="342" top="8784" width="297" height="60" color="#000000" bgColor="#fafafa" fontSize="12">
      <math>
        <input>
          <e type="operand">vx</e>
          <e type="operand">Σ</e>
          <e type="operand">1</e>
          <e type="function" args="2">col</e>
          <e type="operator" args="2">:</e>
          <e type="operand">vy</e>
          <e type="operand">Σ</e>
          <e type="operand">2</e>
          <e type="function" args="2">col</e>
          <e type="operator" args="2">:</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">x</e>
          <e type="function" args="1">∫</e>
          <e type="operand">vx</e>
          <e type="operand">vy</e>
          <e type="operand">x</e>
          <e type="function" args="3">cinterp</e>
          <e type="operator" args="2">:</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
        </input>
      </math>
    </region>
    <region left="342" top="8847" width="62" height="27" color="#000000" bgColor="#fafafa" fontSize="12">
      <math>
        <input>
          <e type="operand">ω</e>
          <e type="operand">10</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="342" top="8883" width="156" height="78" color="#000000" bgColor="#fafafa" fontSize="12">
      <math>
        <input>
          <e type="operand">track</e>
          <e type="operand">0</e>
          <e type="operand">ω</e>
          <e type="function" args="1">∫</e>
          <e type="operand">ω</e>
          <e type="operand">ω</e>
          <e type="function" args="1">∫</e>
          <e type="operand">ω</e>
          <e type="operand">0</e>
          <e type="operand">3</e>
          <e type="operand">2</e>
          <e type="function" args="8">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="513" top="8901" width="224" height="33" color="#000000" bgColor="#80ffff" fontSize="12">
      <math>
        <input>
          <e type="operand">ω</e>
          <e type="operand">ω</e>
          <e type="function" args="1">∫</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
        </input>
        <result action="numeric">
          <e type="operand">10</e>
          <e type="operand">126.8895</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
        </result>
      </math>
    </region>
    <region left="27" top="9018" width="310" height="261" color="#000000" bgColor="#ffffff" fontSize="12">
      <xyplot width="300" height="253" points="100" name="XYPlot">
        <chartstyle backcolor="Ivory" bordercolor="Black" />
        <propertiessource index="1" sourcetype="PropertyGrid" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
        <xaxes xmin="0" xmax="13" xtick="2" visible="True" decimalplaces="3" numberformat="General" />
        <yaxes ymin="0" ymax="250" ytick="25" visible="True" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" visible="True" decimalplaces="3" numberformat="General" />
        <title2d title="l_p_c spline cumulative" titlefont="Arial, 14.25pt, style=Bold" titlefontcolor="Black" />
        <xylabel labelfont="Arial, 14.25pt" labelfontcolor="Black" tickfont="Arial, 8pt" tickfontcolor="Black" xlabel="x" ylabel="Discrete cumulative" y2label="y2" />
        <legend isbordervisible="true" islegendvisible="true" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 11.25pt" legendposition="NorthWest" textcolor="Black" />
        <traces>
          <trace seriesname="cumulative" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Red" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        </traces>
        <input>
          <e type="operand">Σ</e>
        </input>
      </xyplot>
    </region>
    <region left="378" top="9018" width="310" height="261" color="#000000" bgColor="#ffffff" fontSize="12">
      <xyplot width="300" height="253" points="100" name="XYPlot">
        <chartstyle backcolor="Ivory" bordercolor="Black" />
        <propertiessource index="1" sourcetype="PropertyGrid" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
        <xaxes xmin="0" xmax="13" xtick="2" visible="True" decimalplaces="3" numberformat="General" />
        <yaxes ymin="0" ymax="250" ytick="25" visible="True" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" visible="True" decimalplaces="3" numberformat="General" />
        <title2d title="l_p_c spline cumulative" titlefont="Arial, 14.25pt, style=Bold" titlefontcolor="Black" />
        <xylabel labelfont="Arial, 14.25pt" labelfontcolor="Black" tickfont="Arial, 8pt" tickfontcolor="Black" xlabel="x" ylabel="scalar cumulative" y2label="y2" />
        <legend isbordervisible="true" islegendvisible="true" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 11.25pt" legendposition="NorthWest" textcolor="Black" />
        <traces>
          <trace seriesname="cumulative" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Red" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="track" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Blue" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        </traces>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">∫</e>
          <e type="operand">x</e>
          <e type="function" args="1">λ</e>
          <e type="operator" args="2">*</e>
          <e type="operand">track</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
        </input>
      </xyplot>
    </region>
    <region left="306" top="9387" width="160" height="29" color="#000000" bgColor="#f5f5ff" fontSize="14" isBreakable="false">
      <text lang="eng" fontFamily="Arial" fontSize="20">
        <content>
          <p style="font-weight: bold; font-family: Courier New; font-size: 14px; background-color: #f5f5ff;">jmG: 20231211</p>
        </content>
      </text>
    </region>
    <region left="27" top="9396" width="264" height="19" color="#000000">
      <picture>
        <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAQAAAAALCAYAAACQwlMRAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL8SURBVGhD7dSPS9R3HMfxN8eRmnIdhz/juI7UlOO4NLUdx5GK5QRj/SBWhKtY0Y8RK0ZRY40VERIREhISEQ4qHDhwUWDQhgMDCyljFVKOLGQzaiGbYy5kvPak/yJ4czw4vnff7+fz/sCXp8lMCiIXBQijEKWIIo4KVCOJGtQjjSyasBptWIv12IQt6MAO7MJe7MdBHMJRHMNxnEQnzqAL3ejBRfTiMvrQjwFcxyBuYQjDGMEoxvAQ45jAJKYwjdeYwSzmMA+Z5jCDaUxiHGMYwRAGMYA+9KIHXejENziCA9iD7diMdfgQjfgAy1GFJSjBIuTg3ee/gGw+KHu7QPZvruyfhbK/C2R/hWR/hmUzEdmbQtkfxbJXpbKXi2W/R2W/xWRTcdmLpbLnFbJny2S/VsueJmRPkrLxlOxxjezRCtkv9bIHK2X307J7GdloVnZ3lexOkwK31yj4c7tyftygvJublX/jE4V+2Knw9/sU+e6Aiq4cVsm3X6ns0glFL3Qqdv6s4ue6VX72gipP96rq1FUlTvQr+fU1pb4cVO3hn1T3xbAaPr+r9Gdjyux+rOynE2rc9kLNW6fV8vEbtW6cVdtHb9XezqvTNq/W1jm1tMyquXlGjY2vlc1OK5OZUjo9qYaGCdXVjau29qFSqTElk6NKJEZUVTWsysohlZffUjw+qFjsuqLRAZWV9aukpE9FRZcVifQqHL6oUKhH+fndysvrUk7OGQWDnQoETvL6H1cAQSxALhaiACGEEUEhilGKxYgihjiWogLLUI0EkkihBitQj5VII4MsVqHp3fcxro/y+yH+P8h9+7l/L8/t4vkdrNPBeltYdxPrr2eftezXxr6r2b+JObLMk2aueuarYc4k81YzdwXzxzlHlPOUcq5CzhfmnAWcN5dz8855ADwAHgAPgAcAHgAPgAfAA+AB8AB4ADwAHgAPgAfAAwAPgAfAA+AB8AB4ADwAHgAPgAfAA+ABgAfAA+AB8AB4ADwAHgAPgAfAA/C+BSCo/wGRyx+Gjx6/QQAAAABJRU5ErkJggg==</raw>
      </picture>
    </region>
    <region left="27" top="9450" width="124" height="270" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">XY</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="operand">2</e>
          <e type="operand">5</e>
          <e type="operand">3</e>
          <e type="operand">7</e>
          <e type="operand">4.5</e>
          <e type="operand">9</e>
          <e type="operand">5</e>
          <e type="operand">6</e>
          <e type="operand">6.1</e>
          <e type="operand">7</e>
          <e type="operand">7</e>
          <e type="operand">11</e>
          <e type="operand">8</e>
          <e type="operand">24</e>
          <e type="operand">8.9</e>
          <e type="operand">34</e>
          <e type="operand">10</e>
          <e type="operand">40</e>
          <e type="operand">11</e>
          <e type="operand">37</e>
          <e type="operand">12</e>
          <e type="operand">47</e>
          <e type="operand">12</e>
          <e type="operand">2</e>
          <e type="function" args="26">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="189" top="9459" width="297" height="60" color="#000000" bgColor="#fafafa" fontSize="12">
      <math>
        <input>
          <e type="operand">X</e>
          <e type="operand">XY</e>
          <e type="operand">1</e>
          <e type="function" args="2">col</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Y</e>
          <e type="operand">XY</e>
          <e type="operand">2</e>
          <e type="function" args="2">col</e>
          <e type="operator" args="2">:</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">k</e>
          <e type="operand">X</e>
          <e type="operand">Y</e>
          <e type="function" args="2">lspline</e>
          <e type="operator" args="2">:</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">mat</e>
        </input>
      </math>
    </region>
    <region left="198" top="9522" width="140" height="335" color="#000000" bgColor="#ffe1e1" fontSize="12">
      <math>
        <input>
          <e type="operand">k</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
          <e type="operand">3</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">0.6629</e>
          <e type="operand">3.3484</e>
          <e type="operand">14.2699</e>
          <e type="operator" args="1">-</e>
          <e type="operand">16.1137</e>
          <e type="operand">2.7041</e>
          <e type="operator" args="1">-</e>
          <e type="operand">15.8926</e>
          <e type="operand">6.6248</e>
          <e type="operator" args="1">-</e>
          <e type="operand">2.2796</e>
          <e type="operator" args="1">-</e>
          <e type="operand">17.1442</e>
          <e type="operator" args="1">-</e>
          <e type="operand">23.7861</e>
          <e type="operand">0</e>
          <e type="operand">15</e>
          <e type="operand">1</e>
          <e type="function" args="17">mat</e>
        </result>
      </math>
    </region>
    <region left="531" top="9522" width="109" height="270" color="#000000" bgColor="#fafafa" fontSize="12">
      <math>
        <input>
          <e type="operand">0</e>
          <e type="operand">0.6629</e>
          <e type="operand">3.3484</e>
          <e type="operand">14.2699</e>
          <e type="operator" args="1">-</e>
          <e type="operand">16.1137</e>
          <e type="operand">2.7041</e>
          <e type="operator" args="1">-</e>
          <e type="operand">15.8926</e>
          <e type="operand">6.6248</e>
          <e type="operator" args="1">-</e>
          <e type="operand">2.2796</e>
          <e type="operator" args="1">-</e>
          <e type="operand">17.1442</e>
          <e type="operator" args="1">-</e>
          <e type="operand">23.7861</e>
          <e type="operand">0</e>
          <e type="operand">12</e>
          <e type="operand">1</e>
          <e type="function" args="14">mat</e>
        </input>
      </math>
    </region>
    <region left="342" top="9666" width="137" height="38" color="#000000" bgColor="#ffe1e1" fontSize="20">
      <text lang="eng" fontFamily="Arial" fontSize="20">
        <content>
          <p style="background-color: #ffe1e1;">MCD style</p>
        </content>
      </text>
    </region>
    <region left="27" top="10026" width="610" height="38" color="#0000ff" bgColor="#fafafa" fontSize="20">
      <text lang="eng" fontFamily="Arial" fontSize="20">
        <content>
          <p style="background-color: #fafafa;">
            <span style="color: #0000ff; font-weight: bold;">Hermite cubic</span>
            <span />
            <span />  to  rescue the <span style="color: #ff8080; font-weight: bold;">freak</span> Smath cinterp</p>
        </content>
      </text>
    </region>
    <region left="36" top="10071" width="171" height="81" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">XY</e>
          <e type="operand">366.59</e>
          <e type="operand">4990</e>
          <e type="operand">375.88</e>
          <e type="operand">4882</e>
          <e type="operand">380.525</e>
          <e type="operand">4441.6</e>
          <e type="operand">381.419</e>
          <e type="operand">4036.8</e>
          <e type="operand">4</e>
          <e type="operand">2</e>
          <e type="function" args="10">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="207" top="10080" width="393" height="36" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">Xo</e>
          <e type="operand">XY</e>
          <e type="operand">1</e>
          <e type="function" args="2">col</e>
          <e type="function" args="1">transpose</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">366.59</e>
          <e type="operand">375.88</e>
          <e type="operand">380.525</e>
          <e type="operand">381.419</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="function" args="6">mat</e>
        </result>
      </math>
    </region>
    <region left="207" top="10116" width="345" height="36" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">Yo</e>
          <e type="operand">XY</e>
          <e type="operand">2</e>
          <e type="function" args="2">col</e>
          <e type="function" args="1">transpose</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">4990</e>
          <e type="operand">4882</e>
          <e type="operand">4441.6</e>
          <e type="operand">4036.8</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="function" args="6">mat</e>
        </result>
      </math>
    </region>
    <region left="36" top="10161" width="308" height="71" border="true" color="#000000" bgColor="#e1ffff" fontSize="10">
      <math>
        <description active="true" position="Right" lang="eng">
          <content>
            <p>user original polygon</p>
          </content>
        </description>
        <input>
          <e type="operand">Xo</e>
          <e type="operand">366.59</e>
          <e type="operand">375.88</e>
          <e type="operand">380.525</e>
          <e type="operand">381.419</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="function" args="6">mat</e>
          <e type="function" args="1">transpose</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Yo</e>
          <e type="operand">4990</e>
          <e type="operand">4882</e>
          <e type="operand">4441.6</e>
          <e type="operand">4036.8</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="function" args="6">mat</e>
          <e type="function" args="1">transpose</e>
          <e type="operator" args="2">:</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">sys</e>
        </input>
      </math>
    </region>
    <region left="36" top="10242" width="266" height="43" color="#000000" bgColor="#fafafa" fontSize="12">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>recast the data for easy handling plot</p>
          </content>
        </description>
        <input>
          <e type="operand">Xo</e>
          <e type="operand">Xo</e>
          <e type="operand">Xo</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Yo</e>
          <e type="operand">Yo</e>
          <e type="operand">Yo</e>
          <e type="operand">4</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
        </input>
      </math>
    </region>
    <region left="423" top="10260" width="196" height="38" color="#000000" bgColor="#fafafa" fontSize="20" isBreakable="false">
      <text lang="eng" fontFamily="Arial" fontSize="20">
        <content>
          <p style="background-color: #fafafa; font-weight: bold; color: #000000;">recast artefact</p>
        </content>
      </text>
    </region>
    <region left="342" top="10269" width="75" height="31" color="#000000">
      <picture>
        <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAEMAAAAXCAYAAABQ1fKSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAPbSURBVFhH5ZhLSFRRHMZHN4pQ6qKdDzKydi0kSIJoEYQiJKG1aBFaYUIPalO7chEFtRfCoNqIRNgqKbGycUbIQAllKlBCcAw1H4Mxc5//vv+5c8fbnaMz41xHqe/ym4vjPWe+8517z+P6aIdoaSVCmq7H/9oeJcLQDE2cdUMXGIbhGXadqqGSicOpvtVVOjo8TK2+fOocHRXfef37Mvg3TANumLinRBiqpoozh6KaqmcopkKKrsBAcq/XfQpShQ8W4tycnRHfR/WotC6vYV8ilI3C0E30ZJZwPYrBIRiiXtYymAe7TjXSncJCqncEIcIwLVPCpKROr9F0jQzT2LowNFMTP2L/gK0wqDpwkALl5fTUFYLNNcV6VP+JMLgs49SrryFqbmunQ2fPUJ8kACdXVctDzIgl6sqUTIL0PAxVt549xqn+uQVqnwmTr/UizUgaLuNBvGy2kvmU4VkYiYEIM4RTE+D5agRtS25sKg7jzviO8u8yJABG4PsnWYM0j1XsTebbybphKJrVs9w4u6c3gkNDTaIMawTUhSbE7DAGDEcj04XHkgB4myEfwCNQ3NAgvPAMIfMsQ0zjOFhwkb32DA7QMZj5BWSNzBVVjafjjjYn1IIksfJbXlymyHKEFBWJbUBMjZGB60Modw4GxkGqgTFX5F9u5+aQpsi9J4GnYXJykmJKTJRDLZj75+ZRly9j8LGjmAIyn6kIhbhrUQV/cEp+v5/63/TTUHCIhgIb4w8M0rPRMWqenaULxSXCyBLg83biO3GSPi4sUnBI7ttNYDhAXY+7KBqNroWRjT5/m6BeBNmKKVRmMFfMgsqW83FXm5MvHOa1IZ4zzVos8WzCU046ONWLzdb1ggKqq6ykHpfRdKmorqZLZWXUVFJCzSWladFUWkptxbtpL8ofv31LeOEZQubXDY+VvFFjcQ5wYcm5zkisIVLAS2+ep21xPLzvvFtbSy9raqjD1dhUtIlaiFbB7zTha91bQJ4yZX7diKkV642kqTWb5TivQim+yWKtgAiob2kRt+99V6PXw+pX1lpdmYp7W+ZRCq71fG8ikkYgKpI2HP30A7wHvoEBWkFjg67Gu7E3alEt+tfCKGP4tUE64FrpoiubMJxwMFyH6QiFaw6Oj9MNzOmdRUXUmZdHL2Rh4DlmsUHuLBN3W8bYL2zSxCnPw7Cxn0vNtXfh9xmvwcN9+5PCuBKzFj8Y3sQ510qE4dybcCBeYd+6MY0bujbYfgH3sDE70t1N/QhiAXRMT4v/oaQ451qJMGzx84MbaEsO3DPicIrj6Zmaoif+gHgTtp1KCuP/FdEfSued2eSkf1EAAAAASUVORK5CYII=</raw>
      </picture>
    </region>
    <region left="36" top="10323" width="134" height="26" color="#000000" bgColor="#80ff00" fontSize="10">
      <math>
        <description active="true" position="Right" lang="eng">
          <content>
            <p>populate reasonably for export</p>
          </content>
        </description>
        <input>
          <e type="operand">t</e>
          <e type="operand">0</e>
          <e type="operand">1</e>
          <e type="operand">0.125</e>
          <e type="function" args="3">range</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region top="10368" color="#ff0000" bgColor="#ebebeb">
      <area collapsed="true">
        <title lang="eng">
          <content>
            <p>     Hermite interpolation     </p>
          </content>
        </title>
      </area>
      <region left="18" top="10404" width="528" height="79" border="true" color="#000000" bgColor="#fafafa" fontSize="10">
        <math>
          <input>
            <e type="operand">data</e>
            <e type="operand">char</e>
            <e type="operand">size</e>
            <e type="operand">clr</e>
            <e type="function" args="4">plot</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operand">data</e>
            <e type="function" args="1">rows</e>
            <e type="function" args="2">range</e>
            <e type="operand">r3</e>
            <e type="operand">k</e>
            <e type="function" args="2">el</e>
            <e type="operand">char</e>
            <e type="operator" args="2">:</e>
            <e type="operand">r4</e>
            <e type="operand">k</e>
            <e type="function" args="2">el</e>
            <e type="operand">size</e>
            <e type="operator" args="2">:</e>
            <e type="operand">r5</e>
            <e type="operand">k</e>
            <e type="function" args="2">el</e>
            <e type="operand">clr</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">3</e>
            <e type="function" args="5">mat</e>
            <e type="function" args="3">for</e>
            <e type="operand">data</e>
            <e type="operand">r3</e>
            <e type="operand">r4</e>
            <e type="operand">r5</e>
            <e type="function" args="4">augment</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="18" top="10494" width="361" height="187" border="true" color="#000000" bgColor="#fafafa" fontSize="10">
        <math>
          <input>
            <e type="operand">z</e>
            <e type="operand">n</e>
            <e type="function" args="2">RepEnd</e>
            <e type="operand">m</e>
            <e type="operand">z</e>
            <e type="function" args="1">rows</e>
            <e type="operator" args="2">:</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operand">n</e>
            <e type="function" args="2">range</e>
            <e type="operand">w</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">z</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">for</e>
            <e type="operand">i</e>
            <e type="operand">n</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="bracket">(</e>
            <e type="operand">m</e>
            <e type="operand">n</e>
            <e type="operator" args="2">+</e>
            <e type="bracket">(</e>
            <e type="function" args="2">range</e>
            <e type="operand">w</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">z</e>
            <e type="operand">i</e>
            <e type="operand">n</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">for</e>
            <e type="operand">i</e>
            <e type="operand">m</e>
            <e type="operand">n</e>
            <e type="operator" args="2">+</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="bracket">(</e>
            <e type="operand">m</e>
            <e type="operand">2</e>
            <e type="operand">n</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="bracket">(</e>
            <e type="function" args="2">range</e>
            <e type="operand">w</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">z</e>
            <e type="operand">m</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">for</e>
            <e type="operand">w</e>
            <e type="operand">5</e>
            <e type="operand">1</e>
            <e type="function" args="7">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="387" top="10494" width="381" height="321" border="true" color="#000000" bgColor="#fafafa" fontSize="10">
        <math>
          <input>
            <e type="operand">data</e>
            <e type="function" args="1">Strip</e>
            <e type="operand" style="string">nest stripped in 'R' </e>
            <e type="operand">u</e>
            <e type="operand">data</e>
            <e type="operand">1</e>
            <e type="function" args="2">col</e>
            <e type="operator" args="2">:</e>
            <e type="operand">v</e>
            <e type="operand">data</e>
            <e type="operand">2</e>
            <e type="function" args="2">col</e>
            <e type="operator" args="2">:</e>
            <e type="operand">k</e>
            <e type="operand">0</e>
            <e type="operator" args="2">:</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operand">data</e>
            <e type="function" args="1">rows</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="2">range</e>
            <e type="operand">v</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operand">v</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">≤</e>
            <e type="bracket">(</e>
            <e type="operand">v</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operand">v</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">≥</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">¤</e>
            <e type="operand">R</e>
            <e type="operand">k</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="2">el</e>
            <e type="operand">u</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">v</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">line</e>
            <e type="operand" style="string">Undefined</e>
            <e type="function" args="3">if</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">line</e>
            <e type="function" args="3">for</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="operand" style="string">Un-nest R</e>
            <e type="operand">v</e>
            <e type="operand">R</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">:</e>
            <e type="operand">j</e>
            <e type="operand">2</e>
            <e type="operand">R</e>
            <e type="function" args="1">rows</e>
            <e type="function" args="2">range</e>
            <e type="operand">v</e>
            <e type="operand">v</e>
            <e type="operand">R</e>
            <e type="operand">j</e>
            <e type="function" args="2">el</e>
            <e type="function" args="2">stack</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">for</e>
            <e type="operand">v</e>
            <e type="operand">8</e>
            <e type="operand">1</e>
            <e type="function" args="10">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="18" top="10683" width="298" height="89" border="true" color="#000000" bgColor="#fafafa" fontSize="10">
        <math exponentialThreshold="3">
          <input>
            <e type="operand">M</e>
            <e type="function" args="1">Unwrap</e>
            <e type="operand">V</e>
            <e type="operand">M</e>
            <e type="operand">1</e>
            <e type="function" args="2">col</e>
            <e type="operator" args="2">:</e>
            <e type="operand">i</e>
            <e type="operand">2</e>
            <e type="operand">M</e>
            <e type="function" args="1">cols</e>
            <e type="function" args="2">range</e>
            <e type="operand">V</e>
            <e type="operand">V</e>
            <e type="operand">M</e>
            <e type="operand">i</e>
            <e type="function" args="2">col</e>
            <e type="function" args="2">stack</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">for</e>
            <e type="operand">V</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="18" top="10773" width="152" height="67" border="true" color="#000000" bgColor="#fafafa" fontSize="10">
        <math>
          <input>
            <e type="operand">r</e>
            <e type="operand">2</e>
            <e type="operator" args="2">:</e>
            <e type="operand">X</e>
            <e type="operand">Xo</e>
            <e type="operand">r</e>
            <e type="function" args="2">RepEnd</e>
            <e type="operator" args="2">:</e>
            <e type="operand">Y</e>
            <e type="operand">Yo</e>
            <e type="operand">r</e>
            <e type="function" args="2">RepEnd</e>
            <e type="operator" args="2">:</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">sys</e>
          </input>
        </math>
      </region>
      <region left="378" top="10818" width="238" height="45" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">x</e>
            <e type="function" args="1">c</e>
            <e type="operand">1</e>
            <e type="operand">0</e>
            <e type="operand">x</e>
            <e type="operator" args="2">≤</e>
            <e type="bracket">(</e>
            <e type="operand">x</e>
            <e type="operand">1</e>
            <e type="operator" args="2">≤</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">&amp;</e>
            <e type="operand" style="string"></e>
            <e type="function" args="3">cases</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="18" top="10845" width="253" height="118" border="true" color="#000000" bgColor="#fafafa" fontSize="10">
        <math>
          <description active="true" position="Top" lang="eng">
            <content>
              <p>Hermite interpolate</p>
            </content>
          </description>
          <input>
            <e type="operand">t</e>
            <e type="function" args="1">P</e>
            <e type="operand">1</e>
            <e type="operand">6</e>
            <e type="operator" args="2">/</e>
            <e type="operand">t</e>
            <e type="operand">3</e>
            <e type="operator" args="2">^</e>
            <e type="operator" args="1">-</e>
            <e type="operand">3</e>
            <e type="operand">t</e>
            <e type="operand">2</e>
            <e type="operator" args="2">^</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operand">2</e>
            <e type="operand">t</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">-</e>
            <e type="operand">3</e>
            <e type="operand">t</e>
            <e type="operand">3</e>
            <e type="operator" args="2">^</e>
            <e type="operator" args="2">*</e>
            <e type="operand">6</e>
            <e type="operand">t</e>
            <e type="operand">2</e>
            <e type="operator" args="2">^</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">-</e>
            <e type="operand">3</e>
            <e type="operand">t</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">-</e>
            <e type="operand">6</e>
            <e type="operator" args="2">+</e>
            <e type="operand">3</e>
            <e type="operand">t</e>
            <e type="operand">3</e>
            <e type="operator" args="2">^</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="1">-</e>
            <e type="operand">3</e>
            <e type="operand">t</e>
            <e type="operand">2</e>
            <e type="operator" args="2">^</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operand">6</e>
            <e type="operand">t</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operand">t</e>
            <e type="operand">3</e>
            <e type="operator" args="2">^</e>
            <e type="operand">t</e>
            <e type="operator" args="2">-</e>
            <e type="operand">4</e>
            <e type="operand">1</e>
            <e type="function" args="6">mat</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="324" top="10908" width="310" height="208" color="#000000" bgColor="#ffffff" fontSize="12" showInputData="false">
        <xyplot width="300" height="200" points="100" name="XYPlot">
          <chartstyle backcolor="Ivory" bordercolor="Black" />
          <propertiessource index="1" sourcetype="PropertyGrid" />
          <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
          <xaxes xmin="-0.25" xmax="1.25" xtick="0.25" visible="True" decimalplaces="3" numberformat="General" />
          <yaxes ymin="-0.25" ymax="1.25" ytick="0.25" visible="True" decimalplaces="3" numberformat="General" />
          <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" visible="True" decimalplaces="3" numberformat="General" />
          <title2d title="Hermite interpolation" titlefont="Arial, 14.25pt, style=Bold" titlefontcolor="Black" />
          <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 8pt" tickfontcolor="Black" xlabel="" ylabel="" y2label="y2" />
          <legend isbordervisible="true" islegendvisible="false" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
          <traces>
            <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Blue" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
            <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Red" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
            <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Green" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
            <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Fuchsia" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
            <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Black" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          </traces>
          <input>
            <e type="operand">x</e>
            <e type="function" args="1">P</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operand">x</e>
            <e type="function" args="1">c</e>
            <e type="operator" args="2">*</e>
            <e type="operand">x</e>
            <e type="function" args="1">P</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operand">x</e>
            <e type="function" args="1">c</e>
            <e type="operator" args="2">*</e>
            <e type="operand">x</e>
            <e type="function" args="1">P</e>
            <e type="operand">3</e>
            <e type="function" args="2">el</e>
            <e type="operand">x</e>
            <e type="function" args="1">c</e>
            <e type="operator" args="2">*</e>
            <e type="operand">x</e>
            <e type="function" args="1">P</e>
            <e type="operand">4</e>
            <e type="function" args="2">el</e>
            <e type="operand">x</e>
            <e type="function" args="1">c</e>
            <e type="operator" args="2">*</e>
            <e type="operand">0.5</e>
            <e type="operand">1</e>
            <e type="operand">0.5</e>
            <e type="operand">0.25</e>
            <e type="operator" args="1">-</e>
            <e type="operand">2</e>
            <e type="operand">2</e>
            <e type="function" args="6">mat</e>
            <e type="operand">5</e>
            <e type="operand">1</e>
            <e type="function" args="7">sys</e>
          </input>
        </xyplot>
      </region>
      <region left="27" top="11331" width="537" height="67" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">t</e>
            <e type="operand">j</e>
            <e type="function" args="2">XP</e>
            <e type="operand">t</e>
            <e type="function" args="1">P</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">j</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">t</e>
            <e type="function" args="1">P</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">j</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operand">t</e>
            <e type="function" args="1">P</e>
            <e type="operand">3</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">j</e>
            <e type="operand">2</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operand">t</e>
            <e type="function" args="1">P</e>
            <e type="operand">4</e>
            <e type="function" args="2">el</e>
            <e type="operand">X</e>
            <e type="operand">j</e>
            <e type="operand">3</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="operand">t</e>
            <e type="operand">j</e>
            <e type="function" args="2">YP</e>
            <e type="operand">t</e>
            <e type="function" args="1">P</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operand">Y</e>
            <e type="operand">j</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operand">t</e>
            <e type="function" args="1">P</e>
            <e type="operand">2</e>
            <e type="function" args="2">el</e>
            <e type="operand">Y</e>
            <e type="operand">j</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operand">t</e>
            <e type="function" args="1">P</e>
            <e type="operand">3</e>
            <e type="function" args="2">el</e>
            <e type="operand">Y</e>
            <e type="operand">j</e>
            <e type="operand">2</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operand">t</e>
            <e type="function" args="1">P</e>
            <e type="operand">4</e>
            <e type="function" args="2">el</e>
            <e type="operand">Y</e>
            <e type="operand">j</e>
            <e type="operand">3</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">el</e>
            <e type="operator" args="2">*</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">sys</e>
          </input>
        </math>
      </region>
      <region left="126" top="11421" width="270" height="157" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
        <math decimalPlaces="6">
          <input>
            <e type="operand">U</e>
            <e type="operand">j</e>
            <e type="operand">1</e>
            <e type="operand">X</e>
            <e type="function" args="1">rows</e>
            <e type="operand">r</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="function" args="2">range</e>
            <e type="operator" args="2">:</e>
            <e type="operand">ct</e>
            <e type="operand">1</e>
            <e type="operator" args="2">:</e>
            <e type="operand">j</e>
            <e type="operand">j</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operand">t</e>
            <e type="function" args="1">rows</e>
            <e type="function" args="2">range</e>
            <e type="operand">Hx</e>
            <e type="operand">i</e>
            <e type="operand">ct</e>
            <e type="function" args="3">el</e>
            <e type="operand">t</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">j</e>
            <e type="function" args="2">XP</e>
            <e type="function" args="1">eval</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">for</e>
            <e type="operand">ct</e>
            <e type="operand">ct</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="function" args="3">for</e>
            <e type="operand">Hx</e>
            <e type="operand">4</e>
            <e type="operand">1</e>
            <e type="function" args="6">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="405" top="11421" width="270" height="157" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
        <math>
          <input>
            <e type="operand">V</e>
            <e type="operand">j</e>
            <e type="operand">1</e>
            <e type="operand">X</e>
            <e type="function" args="1">rows</e>
            <e type="operand">r</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="function" args="2">range</e>
            <e type="operator" args="2">:</e>
            <e type="operand">ct</e>
            <e type="operand">1</e>
            <e type="operator" args="2">:</e>
            <e type="operand">j</e>
            <e type="operand">j</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operand">t</e>
            <e type="function" args="1">rows</e>
            <e type="function" args="2">range</e>
            <e type="operand">Hy</e>
            <e type="operand">i</e>
            <e type="operand">ct</e>
            <e type="function" args="3">el</e>
            <e type="operand">t</e>
            <e type="operand">i</e>
            <e type="function" args="2">el</e>
            <e type="operand">j</e>
            <e type="function" args="2">YP</e>
            <e type="function" args="1">eval</e>
            <e type="operator" args="2">:</e>
            <e type="function" args="3">for</e>
            <e type="operand">ct</e>
            <e type="operand">ct</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="function" args="3">for</e>
            <e type="operand">Hy</e>
            <e type="operand">4</e>
            <e type="operand">1</e>
            <e type="function" args="6">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="126" top="11574" width="519" height="86" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
        <math>
          <description active="true" position="Right" lang="eng">
            <content>
              <p>collect the project</p>
            </content>
          </description>
          <input>
            <e type="operand">xy</e>
            <e type="operand">U</e>
            <e type="function" args="1">Unwrap</e>
            <e type="operand">V</e>
            <e type="function" args="1">Unwrap</e>
            <e type="function" args="2">augment</e>
            <e type="operator" args="2">:</e>
            <e type="operand">contour</e>
            <e type="operand">xy</e>
            <e type="function" args="1">Strip</e>
            <e type="operator" args="2">:</e>
            <e type="operand">contour</e>
            <e type="operand">contour</e>
            <e type="operand">t</e>
            <e type="function" args="1">rows</e>
            <e type="operand">contour</e>
            <e type="function" args="1">rows</e>
            <e type="operand">t</e>
            <e type="function" args="1">rows</e>
            <e type="operand">2</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="function" args="2">range</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="2">range</e>
            <e type="function" args="3">el</e>
            <e type="operator" args="2">:</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">sys</e>
          </input>
        </math>
      </region>
      <region left="801" top="11610" width="255" height="465" color="#000000" fontSize="10">
        <math>
          <input>
            <e type="operand">contour</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">mat</e>
          </input>
          <result action="numeric">
            <e type="operand">0</e>
            <e type="operand">953.2</e>
            <e type="operand">0.939</e>
            <e type="operand">950.2082</e>
            <e type="operand">1.9959</e>
            <e type="operand">945.0906</e>
            <e type="operand">3.1435</e>
            <e type="operand">937.409</e>
            <e type="operand">4.3547</e>
            <e type="operand">926.725</e>
            <e type="operand">5.6021</e>
            <e type="operand">912.6004</e>
            <e type="operand">6.8586</e>
            <e type="operand">894.5969</e>
            <e type="operand">8.097</e>
            <e type="operand">872.2762</e>
            <e type="operand">9.29</e>
            <e type="operand">845.2</e>
            <e type="operand">10.1063</e>
            <e type="operand">800.7812</e>
            <e type="operand">10.8518</e>
            <e type="operand">751.8875</e>
            <e type="operand">11.5282</e>
            <e type="operand">699.2375</e>
            <e type="operand">12.1372</e>
            <e type="operand">643.55</e>
            <e type="operand">12.6807</e>
            <e type="operand">585.5438</e>
            <e type="operand">13.1603</e>
            <e type="operand">525.9375</e>
            <e type="operand">13.5778</e>
            <e type="operand">465.45</e>
            <e type="operand">13.935</e>
            <e type="operand">404.8</e>
            <e type="operand">14.1933</e>
            <e type="operand">344.6816</e>
            <e type="operand">14.3986</e>
            <e type="operand">285.8406</e>
            <e type="operand">14.5564</e>
            <e type="operand">228.998</e>
            <e type="operand">14.6723</e>
            <e type="operand">174.875</e>
            <e type="operand">14.752</e>
            <e type="operand">124.1926</e>
            <e type="operand">14.8009</e>
            <e type="operand">77.6719</e>
            <e type="operand">14.8247</e>
            <e type="operand">36.034</e>
            <e type="operand">14.829</e>
            <e type="operand">0</e>
            <e type="operand">25</e>
            <e type="operand">2</e>
            <e type="function" args="52">mat</e>
            <e type="operand">1</e>
            <e type="operand">1</e>
            <e type="function" args="3">mat</e>
          </result>
        </math>
      </region>
      <region top="11691" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region left="18" top="11718" width="370" height="74" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
      <math>
        <input>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">c</e>
          <e type="function" args="3">spec</e>
          <e type="operand" style="string">.</e>
          <e type="operand">3</e>
          <e type="operand" style="string">black</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
          <e type="operator" args="2">:</e>
          <e type="operand">data</e>
          <e type="operand">contour</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">c</e>
          <e type="function" args="3">spec</e>
          <e type="function" args="2">pts</e>
          <e type="operator" args="2">:</e>
          <e type="operand">XoYo</e>
          <e type="operand">Xo</e>
          <e type="operand">Yo</e>
          <e type="function" args="2">augment</e>
          <e type="operand" style="string">+</e>
          <e type="operand">20</e>
          <e type="operand" style="string">black</e>
          <e type="function" args="4">plot</e>
          <e type="operator" args="2">:</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">line</e>
        </input>
      </math>
    </region>
    <region left="423" top="11718" width="337" height="172" border="true" color="#000000" bgColor="#ffffe1" fontSize="10">
      <math fractionType="fraction" decimalPlaces="6">
        <input>
          <e type="operand">data</e>
          <e type="operand">spec</e>
          <e type="function" args="2">pts</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operand">data</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">range</e>
          <e type="operand">p</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">c</e>
          <e type="function" args="3">spec</e>
          <e type="operator" args="2">:</e>
          <e type="function" args="3">for</e>
          <e type="operand">v</e>
          <e type="operand">p</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand" style="string">Unest 'p' </e>
          <e type="operand">j</e>
          <e type="operand">2</e>
          <e type="operand">p</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">range</e>
          <e type="operand">v</e>
          <e type="operand">v</e>
          <e type="operand">p</e>
          <e type="operand">j</e>
          <e type="function" args="2">el</e>
          <e type="function" args="2">stack</e>
          <e type="operator" args="2">:</e>
          <e type="function" args="3">for</e>
          <e type="operand">data</e>
          <e type="operand">v</e>
          <e type="function" args="2">augment</e>
          <e type="operand">5</e>
          <e type="operand">1</e>
          <e type="function" args="7">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="18" top="11799" width="353" height="121" color="#000000" bgColor="#fafafa" fontSize="10">
      <math>
        <input>
          <e type="operand">vx</e>
          <e type="operand">contour</e>
          <e type="operand">1</e>
          <e type="function" args="2">col</e>
          <e type="operator" args="2">:</e>
          <e type="operand">vy</e>
          <e type="operand">contour</e>
          <e type="operand">2</e>
          <e type="function" args="2">col</e>
          <e type="operator" args="2">:</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">vx</e>
          <e type="operand">vy</e>
          <e type="operand">x</e>
          <e type="function" args="3">cinterp</e>
          <e type="operator" args="2">:</e>
          <e type="operand">x</e>
          <e type="function" args="1">λ</e>
          <e type="operand">1</e>
          <e type="operand">Xo</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">x</e>
          <e type="operator" args="2">≤</e>
          <e type="bracket">(</e>
          <e type="operand">x</e>
          <e type="operand">Xo</e>
          <e type="operand">4</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">≤</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">&amp;</e>
          <e type="operand" style="string"></e>
          <e type="function" args="3">cases</e>
          <e type="operator" args="2">:</e>
          <e type="operand">x</e>
          <e type="function" args="1">spline</e>
          <e type="operand">Xo</e>
          <e type="operand">Yo</e>
          <e type="operand">x</e>
          <e type="function" args="3">cinterp</e>
          <e type="operator" args="2">:</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">mat</e>
        </input>
      </math>
    </region>
    <region left="423" top="11889" width="197" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">XYdata</e>
          <e type="operand">Xo</e>
          <e type="operand">Yo</e>
          <e type="function" args="2">augment</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="18" top="11925" width="218" height="96" color="#000000" bgColor="#fafafa" fontSize="12">
      <math>
        <input>
          <e type="operand">XYdata</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
          <e type="operand">953.2</e>
          <e type="operand">9.29</e>
          <e type="operand">845.2</e>
          <e type="operand">13.935</e>
          <e type="operand">404.8</e>
          <e type="operand">14.829</e>
          <e type="operand">0</e>
          <e type="operand">4</e>
          <e type="operand">2</e>
          <e type="function" args="10">mat</e>
        </result>
      </math>
    </region>
    <region left="414" top="11925" width="210" height="208" color="#000000" bgColor="#ffffff" fontSize="10">
      <xyplot width="200" height="200" points="100" name="XYPlot">
        <chartstyle backcolor="LightYellow" bordercolor="Black" />
        <propertiessource index="1" sourcetype="PropertyGrid" />
        <grid gridcolor="LightGray" gridpattern="Solid" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
        <xaxes xmin="0" xmax="15" xtick="5" visible="True" decimalplaces="3" numberformat="General" />
        <yaxes ymin="0" ymax="1000" ytick="250" visible="True" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" visible="True" decimalplaces="3" numberformat="General" />
        <title2d title="NOT exportable" titlefont="Times New Roman, 14.25pt, style=Bold" titlefontcolor="Black" />
        <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Courier New, 10pt" tickfontcolor="Black" xlabel="" ylabel="" y2label="y2" />
        <legend isbordervisible="true" islegendvisible="false" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
        <traces>
          <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Splines" lineantialias="true" linecolor="Blue" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        </traces>
        <input>
          <e type="operand">XYdata</e>
        </input>
      </xyplot>
    </region>
    <region left="18" top="12033" width="318" height="28" color="#000000" fontSize="10">
      <math decimalPlaces="6">
        <input>
          <e type="operand">contour</e>
          <e type="operand">contour</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">row</e>
        </input>
        <result action="numeric">
          <e type="operand">14.829</e>
          <e type="operand">0</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
        </result>
      </math>
    </region>
    <region left="27" top="12060" width="334" height="282" color="#000000" bgColor="#ffffff" fontSize="12" showInputData="false">
      <xyplot width="324" height="274" points="100" name="XYPlot">
        <chartstyle backcolor="Ivory" bordercolor="Black" />
        <propertiessource index="1" sourcetype="PropertyGrid" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
        <xaxes xmin="-1" xmax="16" xtick="2" visible="True" decimalplaces="3" numberformat="General" />
        <yaxes ymin="0" ymax="1024" ytick="100" visible="True" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" visible="True" decimalplaces="3" numberformat="General" />
        <title2d title="Mollier" titlefont="Arial, 14.25pt, style=Bold" titlefontcolor="Black" />
        <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 8pt" tickfontcolor="Black" xlabel="" ylabel="" y2label="y2" />
        <legend isbordervisible="true" islegendvisible="true" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 11.25pt" legendposition="SouthWest" textcolor="Black" />
        <traces>
          <trace seriesname="Hermite scalar" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Blue" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="freak cinterp" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Red" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="Mollier" isy2data="false" isvisible="true" plotmethod="Labels" lineantialias="true" linecolor="Transparent" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="16" symboltype="Plus" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="companion data" isy2data="false" isvisible="true" plotmethod="Labels" lineantialias="true" linecolor="Transparent" linethickness="1" linepattern="Solid" symbolantialias="true" symbolsize="4" symboltype="Dot" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="Black" />
        </traces>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">x</e>
          <e type="function" args="1">λ</e>
          <e type="operator" args="2">*</e>
          <e type="operand">x</e>
          <e type="function" args="1">spline</e>
          <e type="operand">x</e>
          <e type="function" args="1">λ</e>
          <e type="operator" args="2">*</e>
          <e type="operand">XoYo</e>
          <e type="operand">data</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">sys</e>
        </input>
      </xyplot>
    </region>
    <region left="360" top="12186" width="157" height="100" color="#000000" bgColor="#fafafa" fontSize="12">
      <math>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">x</e>
          <e type="function" args="1">λ</e>
          <e type="operator" args="2">*</e>
          <e type="operand">x</e>
          <e type="function" args="1">spline</e>
          <e type="operand">x</e>
          <e type="function" args="1">λ</e>
          <e type="operator" args="2">*</e>
          <e type="operand">XoYo</e>
          <e type="operand">data</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">sys</e>
        </input>
      </math>
    </region>
    <region left="513" top="12204" width="260" height="50" color="#ffff00" bgColor="#010101" fontSize="14" isBreakable="false">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p style="font-weight: bold; font-family: Courier New; font-size: 14px; color: #ffff00; background-color: #010101;">blue  ►  HermiteCubic<br />red   ►  freak cinterp</p>
        </content>
      </text>
    </region>
  </regions>
</worksheet>